The Web Fanatics Posted November 8, 2016 Share Posted November 8, 2016 I am developping a Prestashop webshop for a client of ours, and I run into a little bump here. Scenario Visitor sees product (comes in 1/3/5 units) and adds 3 units via the dropdown in his card. He realizes he wants another 3 units and adds those to the card as well. Now in the checkout, these units are being added up to 6 units. This means suddenly the discount for 5 units is being applied, while my clients wants the discount for 3 units has to be applied twice. IdealThe idea is that every time something happens with the car which is from origine an update issue (so adding more quantities to a product) will be viewed as placing a new product in the car, creating the right discount. So far determinedIn the admin panel, i couldnt find an option to turn of updating status (would technically be inlogical), so I went into the code, via the product.tpl to card.php in the card module, to check if there is anything that points to this updating proces. So far no luck. Anybody else can give me a pointer (or maybe an other idea) how to achieve this? Link to comment Share on other sites More sharing options...
The Web Fanatics Posted November 8, 2016 Author Share Posted November 8, 2016 (edited) With my stupid programmer head, i completely misreasoned. I realized a few minutes ago, i could simply make packages with product attributes and put those up with a certain price.... I am an idiot sometimes. This topic can be closed Edited November 8, 2016 by The Web Fanatics (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now