Byron Pérez Posted April 22, 2020 Share Posted April 22, 2020 (edited) Hi everyone I hope you can help me with my ecommerce. I want to add a condition to my e-commerce to only allow sales when the number of products in the cart is divisible by 12, I don't matter what products are in the cart. I don't know how can I do it, I'm new in PrestaShop Edited April 22, 2020 by Byron Pérez (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted April 22, 2020 Share Posted April 22, 2020 This module will help you with this https://addons.prestashop.com/en/registration-ordering-process/27632-minimum-and-maximum-unit-quantity-to-purchase.html 1 Link to comment Share on other sites More sharing options...
Byron Pérez Posted April 22, 2020 Author Share Posted April 22, 2020 2 minutes ago, ndiaga said: Hi, Why not put the minimum quantity to add an order to 12 in product admin page? Hi ndiaga, thanks for your help. Sorry, I didn't understand you. You mean minimun quantity per product? Link to comment Share on other sites More sharing options...
Byron Pérez Posted April 22, 2020 Author Share Posted April 22, 2020 19 minutes ago, joseantgv said: This module will help you with this https://addons.prestashop.com/en/registration-ordering-process/27632-minimum-and-maximum-unit-quantity-to-purchase.html Hi joseantgv, thanks foy your help. That module seems to work and I'd like to buy it, but right now I can't buy it, so I need a solution by modifying files if that's necessary Link to comment Share on other sites More sharing options...
joseantgv Posted April 23, 2020 Share Posted April 23, 2020 hace 4 minutos, ndiaga dijo: The minimum quantity to add to order . You have that option each time you add a product , see the quantity tab. He needs to mix between products. Link to comment Share on other sites More sharing options...
joseantgv Posted April 23, 2020 Share Posted April 23, 2020 hace 2 horas, ndiaga dijo: Mix between products? You can have 5 units of product A and 7 units of product B, but cart must have 12 units (or multiple). Link to comment Share on other sites More sharing options...
Byron Pérez Posted April 23, 2020 Author Share Posted April 23, 2020 1 hour ago, joseantgv said: You can have 5 units of product A and 7 units of product B, but cart must have 12 units (or multiple). Thank you joseantgv that it's correct. I'll buy the module, I guess. 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