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

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

If my answer was useful, please give "Kudos" to this post.
If my answer helps you to resolve the problem, click on "Accept as Solution".

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

Dear Friend,

 

Please provide the code as urgent basis.

 

Regards,

Ganesh Prasad