I am trying to set up 2 flat rate services (standard and priority) that have a base rate + a variable amount depending on the number of items in the cart.

Basically is the following:

Service name Base rate Cost per item

Standard service $10 + $4
Priority service $15 + $6

I have tried to create a Calculation rule following Andy's video, with a loop to check every line item. That rule works fine for one service, but not for 2 services, with different costs per item. I am trying to use 2 different rules, one for the standard and one for the priority, but, then it shows both services in the review pane, instead of just the one chosen. Also, if you go back to change the shipping service, it does not change the amount back.

Any help would be much appreciated.

Thanks a lot.


googletorp’s picture

Project: Commerce Shipping » Commerce Flat Rate
Version: 7.x-2.0-beta1 » 7.x-1.0-beta1
Simon Georges’s picture

Status: Active » Closed (duplicate)

Thanks for taking the time to report this issue.

However, I am marking this as a duplicate of #1598096: How to define a flat rate service that gets incremented per product (i.e. $10 + $4 per product). You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.