| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Get Product Attribute +percentage to apply to total price | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Get Product Attribute +percentage to apply to total price
Hello everyone,
Just purchased X-Cart Business edition and after being away from X-Cart for about a year I am running into an issue I thought I had solved before. I am in the product attributes tab and filling out pricing for Signage Plaques, and have made two attributes, size, and finish. Size is a flat rate increase I can easily add as just +500 or whatever the price for that size is. Finish, on the other hand, is a percentage increase ranging from +15% to +50% of the flat rate cost. (see here: https://www.evernote.com/l/ANGGPR1mlYlNgJNsBQnbZe2EdVd80cXmvMs) What I need is for the finish percentage to be applied on top of the size increase in price, instead of applying it to the default cost which is set to 0. Any help would be great. Thanks! EDIT: I understand product variants might be a possible solution, but there are many many sizes that need to be added and it would take ages to create every individual variant for every size / finish. I am OK with modifying code or modules if anyone has done it that way before.
__________________
X Cart 5.3.4.5 mountingstandoffs.com |
|||||||
#2
|
|||||||||
|
|||||||||
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.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: Get Product Attribute +percentage to apply to total price
Thanks for your reply, it looks like variants might be the best way to go for now.
__________________
X Cart 5.3.4.5 mountingstandoffs.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|