I want to set min buy on product

Solved
Excursionist
19 0 0

Hi, i want to  set restriction on user to min. purchase of some amount without it cant place order.  

Thank you for your help.

0 Likes
Shopify Expert
2514 423 533

Hi @Embey 

You want like user must buy minimum of some amount without it cant place order? 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Excursionist
19 0 0

Hi jasoliya yes i want to add restriction on user like they must buy minimum of some amount. without it cant place order.

Thank you

0 Likes
Shopify Expert
2514 423 533

Then you have to add some condition in section-cart.liquid page.

like add your checkout button in cart total condition so if cart total is more then X value then it will show other wise button cant show so user cant place order.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like

Success.

Shopify Partner
440 84 96

like this one 

            {%- assign totalcart = cart.total_price -%}
            {%- if totalcart > 100 -%}
// change 100 to your minimum amount // Show checkout {%- else -%} // leave blank or show custom message {%- endif -%}

Note: May be you have to customize it a/to your need

Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
1 Like
Excursionist
19 0 0
Thank you but where i need to add this code?
0 Likes

Success.

Shopify Expert
2514 423 533
Add in section->cart-template.liquid -> find name="checkout" its your checkout button and add Guleria's condition.
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like
Excursionist
19 0 0

Thank you so much @Jasoliya  and @Guleria for help.

0 Likes