How to show minimum order message on cart?

Hi,

I am trying to set up a minimum order on the Cart page.

If the user orders below £30, then the cart should show a message - “Minimum order is £30”.

Thanks

Hi @paulson1

Depending on your theme, this might require custom code. What theme are you using?

To set up a minimum order amount on the Cart page, you can add a custom JavaScript snippet that checks the cart’s total and displays a message if it’s below £30. You can place this code in your theme’s theme.js file or through the Online Store > Themes > Customize > Additional scripts section to ensure it runs when the cart is updated.

Thanks, Is there any sample JavaScript code?

It looks like we can use some apps.

The theme we are using is https://themes.shopify.com/themes/canopy/styles/natural

Thanks

Yes, you can try the AOD ‑ Order Limits app to set the minimum order value.