Re: Get Product Attribute +percentage to apply to total price
At the moment the product price calculation logic is tricky because of all these taxes, surcharges, discounts and so on.
To simplify the logic X-Cart 5 does both fixed and percentage price increases in a single iteration, when the "final" price is not known yet. That's why it calculates the percentage from the base product price.
I think it is possible to create a custom module that changes the logic (perhaps, splitting the logic into two iterations), but I'm not sure how complex the changes could be.
Perhaps, going the "variant prices" way would be easier.
|