How to configure Product so the Size determines the Price?
I'm new to Drupal commerce but not new to Drupal development, so I have a pretty good understanding as to how Drupal works. But for the life of me I cant figure how to configure my product type so the size dictates the price. I currently have a client that has multiple flavors of a product (Gourmet Popcorn). Much like pizza, you must determine the size you want which will decide how much to charge you.
In my case I have 5 sizes( Jr, Small, Med, Lg, Jumbo) 5 categories and each category has multiple flavors. Regardless, there are only 5 sizes. So....
1. Customer Chooses a flavor
2. Customer Chooses a Size bag or sport can.....
3. Based on selection, price is displayed.....
etc......
I've managed to create a "Size" line item, CCK field for "size", it displays on the product page under the price.
However, if a med bag cost 10.99 and a customer chooses Jumbo ..... they are charged 10.99 because this is the price that was displayed on the product page but it should be 17.99 because that's the size they chose .
Can someone please advise. What am I missing!
Mikko