Add product to cart Rules

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
Hi,

I have a unique category that if the customer add an item of that category to cart, he wont be able to add product from differents categories.
But if one product from a different category is already on cart, he wont be able to add a product from the unique category.

Any ideia how can I do that?

Thanks for the help,

Eduardo
2 years ago
If you want to modify the core code, then you can 'add warnings' in
Libraries\Nop.Services\Orders\ShoppingCartService.cs
  AddToCartAsync()
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.