How MinCart Validates Limits and Handles Discounts
MinCart validates order limits by analyzing the contents of the cart. It checks whether the configured limits have been met and determines if a trigger should be implemented to restrict checkout.
How MinCart Validates Limits
When a customer adds items to their cart, MinCart evaluates the total quantity, value, or any other specified restriction against the set limits. This validation process occurs at the cart level, ensuring that the correct restrictions are applied before the customer proceeds to checkout.
How MinCart Works with Discounts
MinCart retrieves the total cart value directly from Shopify. Since Shopify calculates the final price after applying discounts, MinCart uses this discounted total when validating limits.
This means that if a discount or sale price lowers the cart total below a configured limit (e.g., a minimum order value), the restriction will not be triggered. As a result, the customer will be able to proceed to checkout, even if the original (pre-discount) cart total met the restriction criteria.
If you require limits to be enforced based on the pre-discount total, Shopify’s default behaviour may not align with this requirement. In such cases, alternative solutions, such as adjusting discount strategies or customizing validation logic, may be necessary.
Updated on: 12/03/2025
Thank you!