Hi Oliver, I’ve added this in to our testing stream. If you’re still using that version (as set in the instructions I posted here: CART adding categories? )
then you should be able to see an update to Cart in the Backlight Modules page for 7.0.2.
This adds an additional setting in the Cart settings in the Pricing and Formats section:
This should operate as you expect. For example, with a base price of 10, then a fixed amount of 20 for framing, and a percentage of 20% for gloss, then the total would be 10 + 20 + ((10 + 20) x 0.2 ) = 36. Rather than the old approach of 10 + 20 + (10 x 0.2) = 32
This compounded calculation only works based on price calculations preceding the percentage. e.g. with prices chosen such as:
A) Size 10 fixed amount
B) Framing 20 fixed amount
C) Matte/Gloss 20 percenage
D) Other 30 fixed amount
The percentage in C) applies to the total of A) and B)
Can you have a go with this change and let me know how you get along?
Note: this upgrade will reset ttgcart.hooks.js to the default version. You’ll need to reapply the changes you had made to the file to hide the percentage fields.
