cancel
Showing results for 
Search instead for 
Did you mean: 

Don't allow the multiple brand products in cart page

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

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.

Re: Don't allow the multiple brand products in cart page

Dear Friend,

 

Please provide the code as urgent basis.

 

Regards,

Ganesh Prasad