jrosales Posted February 12, 2016 Share Posted February 12, 2016 Good Morning, I need to carry out a development to change the programming of the shopping and I want to share with you to decide the best way to do it. I know Prestashop allows to define a minimum purchase amount, but I have to add another constraint: the Cart must contain at least one product in a particular category. This category contains the "star product" and all purchases must contain, at least one of these products. All other products are supplements or secondary. If the user tries to buy only products that are out of this primary and compulsory category , this error should appear : " The Cart does not contain products of category XX You can see the products here” I´m looking forward to hearing from you. Thanks! Link to comment Share on other sites More sharing options...
sandipchandela Posted February 13, 2016 Share Posted February 13, 2016 Really good constraint! Link to comment Share on other sites More sharing options...
jrosales Posted February 14, 2016 Author Share Posted February 14, 2016 any sugestion for implementing it? Link to comment Share on other sites More sharing options...
sandipchandela Posted February 16, 2016 Share Posted February 16, 2016 There is a way. You can create administration module. By using catalogue rules, I think it can be achievable. 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