I'm not sure if this is a Commerce Flat Rate issue, Commerce Shipping 2.x issue, or Rules issue but I'll start here and give it a try. I followed Randy Fay's excellent tutorials on the Commerce Guys website to set up three flat rate shipping options (first class, priority, and express) and an upcharge to flat rate per item which is only supposed to add on to the first class option. Here's the scenario...
The client whose site I am working on has three domestic shipping options.
1) First Class ($4 for first item, +$1 for each additional item)
2) Priority $7
3) Express $25
Each of these three is set up as a Flat Rate Service and titled appropriately. For the First Class I set the base amount to $3 since the add was going to count the first item and add $1 which brings the amount for the first item to the $4 amount.
I followed the tutorial video to create a plus $1 and in the final action (Add an amount to the unit price) specified the First Class item as the Price Component Type. But, it appears that the shipping rate calculation rule I created is actually applying the add +$1 to all three Flat Rate Services (First Class, Priority, and Express) even though I specified in the Price Component Type to apply the calculation to the First Class one.
So, with two items in my cart, at checkout the shipping choices are showing as:
First Class $5 (correct)
Priority $9 (not correct - added $1 for each item to the base $7)
Express $27 (not correct - added $1 for each item to the base $25)
From the video tutorial on adding per-item shipping, the last step in setting up the rule is to affect the Product Component Type. I see all of my unique flat rate service options listed there and only selected the one I wanted the upcharge to apply to, however it appears to be increasing all three of the available flat rate service options presented to customers.
Any guidance extremely appreciated! I need to remove the extra amounts being added to the Priority and Express shipping options so we can move forward with the client's site.
|#8||shipping_rule_per_line_item.txt (the exported rule)||1.24 KB||rfay|
|#8||The rule as a picture||105.57 KB||rfay|
|#8||The key data comparison||56.33 KB||rfay|
|#4||I have the Flat Rate Shipping module installed & enabled||66.6 KB||craigkendall|
|#4||I have created four Flat Rate Services||101.84 KB||craigkendall|