LASER-SK Posted May 10, 2022 Share Posted May 10, 2022 Hello, in my Prestashop 1.6.1.24 i set Free delivery starts at value 100 € But I don't want this to apply to some products. Is it possible to disable this function only to products that i chose? Thanks. Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 10, 2022 Share Posted May 10, 2022 3 hours ago, LASER-SK said: Hello, in my Prestashop 1.6.1.24 i set Free delivery starts at value 100 € But I don't want this to apply to some products. Is it possible to disable this function only to products that i chose? Thanks. yes its possible via back office, please create a new "Discount cart rule" and you can easily define it there. Regards Link to comment Share on other sites More sharing options...
LASER-SK Posted May 10, 2022 Author Share Posted May 10, 2022 How can I create a rule that removes a discount from specific products? I have a lot of products and need to remove free delivery from maybe 20 products. Or i need to create rule for free delivery to all products that i want except for those I don't want? Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 10, 2022 Share Posted May 10, 2022 (edited) 13 minutes ago, LASER-SK said: How can I create a rule that removes a discount from specific products? I have a lot of products and need to remove free delivery from maybe 20 products. Or i need to create rule for free delivery to all products that i want except for those I don't want? Go to Catalog>discounts>Cart rules > create a new cart rule 1. Fill the information tab. 2. In Terms Tab click on "prodcuts selection checkbox" at the bottom, select Products in "Add a relative to rule" and add> chosse your 20 products there. fill the rest of the data in this tab as per your choice. 3. In Action tab select free shipping to "YES" . Save it and the shipping will be free for that 20 products irrespective of any shipping costs for other products, OR select the other products and leave the 20 products (which then will not be free shipping). you have actually to play with it for a while to understand its process Regards Hit love button if you find this helpfull. Edited May 10, 2022 by SMTmardan (see edit history) Link to comment Share on other sites More sharing options...
LASER-SK Posted May 10, 2022 Author Share Posted May 10, 2022 But i dont want apply free shipping to those 20 products I want to cancel free delivery. All the others products i want to have free shipping. Link to comment Share on other sites More sharing options...
Mian Waqas Posted May 11, 2022 Share Posted May 11, 2022 As i told you please select the other products in there and leave the 20. and create the rule. Regards 12 hours ago, LASER-SK said: But i dont want apply free shipping to those 20 products I want to cancel free delivery. All the others products i want to have free shipping. Link to comment Share on other sites More sharing options...
LASER-SK Posted May 11, 2022 Author Share Posted May 11, 2022 (edited) Okay thanks. I was hoping there was an easier option. EDIT: Your solution does not work because free delivery is applied even if I add a product to the cart that should not be delivered for free. The problem is with condition in cart rule: Your cart must contain at least 1 product (s) that comply with the following rules In my case i need something like You cart must containt only these products. Edited May 11, 2022 by LASER-SK (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted May 11, 2022 Share Posted May 11, 2022 I'm afraid that, as you see, what you need can not be achieved with PrestaShop. With this module https://addons.prestashop.com/en/promotions-gifts/9129-promotions-and-discounts-3x2-sales-offers-packs.html you will be able to set free shipping only if there are some products in the cart or, in other words, apply free shipping always except when some products are in the cart. Link to comment Share on other sites More sharing options...
knoopers Posted February 6 Share Posted February 6 If anyone ever will come here to find a solution: I've made really simple module: https://github.com/kn00pers/Prestashop-Exclude-shipping-price-module 1 Link to comment Share on other sites More sharing options...
endriu107 Posted Saturday at 09:03 AM Share Posted Saturday at 09:03 AM 17 hours ago, knoopers said: If anyone ever will come here to find a solution: I've made really simple module: https://github.com/kn00pers/Prestashop-Exclude-shipping-price-module I'm curious why you use external method to add override? Link to comment Share on other sites More sharing options...
knoopers Posted Saturday at 09:20 AM Share Posted Saturday at 09:20 AM 13 minutes ago, endriu107 said: I'm curious why you use external method to add override? Prestashop's native merger is very fragile. If another module has already installed a complex or poorly formatted override, parser might fail, causing the module installation to crash or the site to break 2 Link to comment Share on other sites More sharing options...
endriu107 Posted Saturday at 04:46 PM Share Posted Saturday at 04:46 PM I just recheck your code and in my opinion it can do a lot of damage in existing store if it already use override in Cart.php file, also if someone uninstall your module all overrides from Cart.php are removed, even those from other modules. 1 1 Link to comment Share on other sites More sharing options...
Anahitrt Posted Saturday at 08:00 PM Share Posted Saturday at 08:00 PM PrestaShop doesn’t let you exclude specific products from free shipping by default. To do this, you need a custom module or solution that blocks free shipping for selected products while keeping it for the others. Be cautious with overrides, as they can conflict with other modules or break your site. Link to comment Share on other sites More sharing options...
knoopers Posted Saturday at 09:01 PM Share Posted Saturday at 09:01 PM 4 hours ago, endriu107 said: I just recheck your code and in my opinion it can do a lot of damage in existing store if it already use override in Cart.php file, also if someone uninstall your module all overrides from Cart.php are removed, even those from other modules. Thanks for letting me know. Everything I do is for my own store and I just want to share. I have in mind that if something works for me doesn’t mean it will work for everyone. I will try to recode it and make it better. 1 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