israel_lanoa Posted April 1, 2012 Share Posted April 1, 2012 Hi experts, I need to check when adding a new product to the cart, that if there is another product already added, the new product manufacturer is the same as the existing one. That is, only allow a product manufacturer per order. Would it be difficult this customization of the cart?. Is there something similar? Thanks in advance. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 2, 2012 Share Posted April 2, 2012 Hello, When adding a new product you would need to go through all the products in the cart, compare the manufacturer ID's. If ID found return error message e.g. 'You can purchase only........', if ID not found add to cart. 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