How can I set a minimum order amount on my website?

Topic summary

A user seeks to implement a minimum order amount of Rs. 500 on their Shopify store using the Dawn theme, while already offering free delivery over Rs. 4000.

Proposed Solutions:

  • App-based approach: Multiple participants recommend Shopify apps like OrderLogic, MinCart, and Cart Lock. The Cart Lock app solution includes step-by-step instructions: create a rule with “Cart subtotal” condition set to “less than 500” and add an error message to block checkout.

  • Code-based approach: One contributor suggests editing the cart template by wrapping the checkout button in conditional code that hides it when cart.total_price < 500. They recommend adding this to sections/main-cart-footer.liquid.

Ongoing Issues:

  • The original poster requests more specific guidance on where to insert the code within their cart.json file and provides their current template code.
  • Another user reports the checkout button remains missing even after the cart exceeds Rs. 500, suggesting potential caching or implementation issues.
  • Multiple users express similar needs, indicating this is a common requirement.

Status: The discussion remains open with unresolved technical implementation questions about the code-based solution.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Hello @kamm0 ,

Greetings from the Store Watchers Support Team! Happy to help you today.

Go to Online Store → Actions → Edit code. Then find your cart template.

In your cart template file, look for the checkout button code and wrap it with an if condition similar to the one below to hide the button for orders below 500.

{% if cart.total_price < 500 %}
// Your checkout button code here.
{% endif %}

You can also optionally add a custom message if the order is below 500.

{% unless cart.total_price < 500 %}

Minimum order is 500

{% endunless %}

Let me know if need further assistance

Regards,
Store Watchers Support Team