I'm using Drupal 7 and Commerce. We have several product displays: Caramel, Chocolate, Cinnamon, Cheddar, etc. Each of these product displays has 5 SKUs (5 products) for the 5 different sizes we offer. Each product display also gets tagged as either "premium" or "standard."
I'm trying to then build a "sampler" where they choose up to three of those flavors. To do this, I'm using an entity reference field so that that list always has the current flavors. i.e. If they had Hazelnut, the sampler gets updated with Hazelnut.
If they choose a premium flavor, it should add $5 to the total price per premium flavor, but if there are no premium flavors, then it should stay the same price.
I have a rule set up that is halfway there. Problem is, if there is even just one premium flavor, it charges $5 per item checked, regardless of whether they're premium or standard.
I can't figure out how to only apply the upcharge per premium flavor. Any help is greatly appreciated. Willing to help fund this some if needed.