Kimodo Posted December 28, 2019 Share Posted December 28, 2019 Hi everyone, We are trying to apply discounts on the total purchase amount accordingly with the total weight of the cart. We have included some custom code to show what the weight of each product is and what the total cart weight is, but we cannot find the way to establish this discount rules. The default cart rules in the PrestaShop dashboard doesn't have this feature. The idea is, if the $totalWeight is more than 5kg, then apply a 10% discount, in example and so on. Any ideas? Thanks everyone in advance. Link to comment Share on other sites More sharing options...
luishuaymana Posted December 29, 2019 Share Posted December 29, 2019 If you can do what you ask, but you must indicate the version of prestashop you have and if you want to create a module (recommended) or by direct code. Anyway you can talk to me privately if you like. Link to comment Share on other sites More sharing options...
Kimodo Posted December 31, 2019 Author Share Posted December 31, 2019 On 12/30/2019 at 12:44 AM, luishuaymana said: If you can do what you ask, but you must indicate the version of prestashop you have and if you want to create a module (recommended) or by direct code. Anyway you can talk to me privately if you like. Hi luishuaymana. We're using PrestaShop 1.7.6.1. As always that we can, we prefer to avoid modules and use code instead. Don't know yet how many modules we will need to the production version of the web and we think that the less modules we use the better for the global performance of the page. Do you know when can we start looking to include that piece of code? Regards 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