We need to setup a rules to ensure below is satisfied.

  • When an item is added only from category x then minimum cart price should be set to 25
  • When an item is added from category x and also has items from other categories then the minimum cart value should be set to 100.

I'm not sure how to achieve this, I tried setting up cart rules but didn't helped me. Any idea or inputs will be great.


2 Answers 2


Magento default just allows you to set up maximum quantity allowed in the shopping cart of a product only. Therefore, I think that you had better look for an extension to help you overcome this issue quickly.

For example, you can try this extension




To my knowledge, this can not be done using rules, you will have to create a custom module.

Magento has core functionality for setting Minimum Order amount for the whole cart, not limited to a certain category.

Stores -> Configuration -> Sales-> Sales -> Minimum Order Amount

enter image description here

When developing a custom module for this, it might make sense to reuse parts of this functionality and repurpose it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.