I got this working, but when the cart is updated with >500 worth of products, the buttons remain missing even when i clear the cache, etc. What have I done wrong?? ![]()
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 tosections/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.