- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017
12:54 AM
01-31-2017
12:54 AM
Don't allow the multiple brand products in cart page
Dear Friends,
We can allow the customers to create order for single brand. If they want to create order for including the multiple brands we should restrict in cart page. cart items with same brand allow for sales order,
Regards,
Ganesh Prasad
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017
11:34 AM
01-31-2017
11:34 AM
Re: Don't allow the multiple brand products in cart page
Hi @ganeshkumar33,
You should create a new attribute, for example: "Product Brand", and then add custom code to review if a product from another brand already exist in the cart.
That can be done in an observer, and prevent adding products to the cart if there is another brand in the cart.
Best regards.
Gabriel
Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2017
04:46 PM
01-31-2017
04:46 PM
Re: Don't allow the multiple brand products in cart page
Dear Friend,
Please provide the code as urgent basis.
Regards,
Ganesh Prasad