Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Incorrect order total on checkout

Hi,
I have defined custom Rules for product price calculations to give discount on product prices under certain conditions. This works well all the way to order checkout REVIEW page where I have cart content displayed in a table. Individual products are priced correctly, however order (sub)total is incorrect. It's calculated with product base prices without discount rules.
What could cause this problem?

Asked by: michlis
on July 10, 2015

1 Answer

Vote up!
0
Vote down!

Turns out I had to modify not only line item amount but also base price component amount, since commerce calculates total order sum only from "base_component" prices...

Answer by: michlis
Posted: Jul 15, 2015