derekjwhitten Posted May 22, 2020 Share Posted May 22, 2020 I'm trying to set up a discount so that if a customer purchases a bed they will get a single cushion free. If they choose to add a second cushion to their cart, then that cushion should not be discounted, only one. I have set up the following, however this applies to all the teal cushions in the customer's cart. Is there a way to achieve the discount I need? Link to comment Share on other sites More sharing options...
jeanluc.12 Posted May 22, 2020 Share Posted May 22, 2020 You can achieve the same using the paid module. https://addons.prestashop.com/en/promotions-gifts/9129-promotions-and-discounts-3x2-sales-offers-packs.html You can check the demo of the module to find if it meets your rquirements or not. Alternatively you can also search for the free modules that can help you to achieve the same. Link to comment Share on other sites More sharing options...
derekjwhitten Posted May 22, 2020 Author Share Posted May 22, 2020 (edited) Thanks, I was hoping to be able to achieve this using out of the box functionality but will take a look for some free modules then. Alternatively, is there a way manually override the price of a single item when it's added to the cart? Edited May 22, 2020 by derekjwhitten (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted May 24, 2020 Share Posted May 24, 2020 Try this one: Link to comment Share on other sites More sharing options...
derekjwhitten Posted May 24, 2020 Author Share Posted May 24, 2020 (edited) Thanks, this looks like an interesting module! In the ended up using a workaround where my module: Is connected to hookActionCartSave Checks what product was just added (using the data in $_POST) If it's the correct product (a bed), it manually adds the free product (a cushion) using $params['cart']->updateQty Then I create a customisation and set the price impact to the negative value of the cushion so that it's free I'm installing conseq though because it looks like it could be useful for any number of things - thanks for sharing! EDIT: After installing I've realised this has a licence requirement after a 14 day trial so might give it a miss for now. Edited May 24, 2020 by derekjwhitten (see edit history) Link to comment Share on other sites More sharing options...
DataKick Posted May 30, 2020 Share Posted May 30, 2020 On 5/24/2020 at 11:55 PM, derekjwhitten said: I'm installing conseq though because it looks like it could be useful for any number of things - thanks for sharing! EDIT: After installing I've realised this has a licence requirement after a 14 day trial so might give it a miss for now. Hi, I'm author of the Conseqs module. I just wanted to let you know that there is no 14 day trial. Conseqs is free, but is limited to 2 rules -- your use case would require 1 rule. Link to comment Share on other sites More sharing options...
derekjwhitten Posted May 30, 2020 Author Share Posted May 30, 2020 Thanks for clarifying. When I read the T&Cs after installing the module it mentioned a 14 day trial and I wasn't aware you could continue using it for free with only 2 rules. 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