Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi,
We have out wholesale website nearly compelted and we're looking to restrict small orders and only allow checkout if the amount is $500 or more. How can I do this with the basic Shopify plan? I've found some older threads, but they all look outdated so I'm afraid they won't work.
Thanks,
Hi there!
My name is Alex, I'm a guru here at Shopify!
No problem! There's a couple solutions I can suggest for this:
Hope that's helped! Please feel free to give us a call or start a live chat at any time, we're open 24/7 for your convenience and always happy to assist!
Cheers,
Alex | Shopify Guru
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is a trivial feature to add yourself, totally not worth throwing away $60/year on an app. Our approach isn't full proof, and anyone that is tech savy could defeat it, but it hasn't ever been a problem for us and I doubt it would for anyone:
I edited our store's code and on the cart.liquid page, I added an if statement that checked if the subtotal of the cart was below a certain amount, If it was it doesn't display the checkout options and instead shows some text that says "Minimum checkout is $X":
Hi,
I found the most fullproof way is to do both what mihai suggested as well as what Alex suggested.
1) Edit the code in cart-template.liquid. I used the following code as I found it to be neater: in the code below, if the order is below your minimum, then it will display a message "minimum order is $X" above the "continue shopping" and the "update" buttons. i found this to be neater then the message being displayed in line with the two buttons.
<div class="cart__shipping">{{ 'cart.general.shipping_at_checkout' | t }}</div>
<div>
{% if cart.total_price < 5000 %}
<font color="#990000">
Minimum order is $50
</font>
{% endif %}
</div>
<a href="collections/all" class="btn btn--secondary cart__update cart__continue--large small--hide" >{{ 'cart.general.continue_shopping' | t }}</a>
<input type="submit" name="update" class="btn btn--secondary cart__update cart__update--large small--hide" value="{{ 'cart.general.update' | t }}">
{% if cart.total_price > 4999 %}
<input type="submit" name="checkout" class="btn btn--small-wide" value="{{ 'cart.general.checkout' | t }}">
{% endif %}
2) go into your admin home page, settings, select edit next to the country you wish to edit then under price based rates, select "Add rate". In the window that pops up, set whatever shipping name you like, then in the minimum order price put the minumum order you as the same minumum you set in the above code. Select Done and then save your changes.
This method is fullproof in that if someone is a little tech savy and decided to trick the system by using a perma link to go into the checkout page without having reached the minimum order, they will have no shipping options to choose from.
PS: Pic of using permalink to enter checkout while still under minimum spend
I'll add that if you want to change the standard message from Shopify that there are no shipping options, you can go to Admin > Themes > Edit Languages > (search) "no rates". This will return a list of the messages that are shown to users when they haven't met the requirements, which you can alter to say anything you like (these are also liquid-compatible fields so you can get pretty creative with them).
Hi @WholesaleWorld1 ,
We've actually just released a wholesale app, which includes this feature, that can be applied on a per customer basis.
The app is called "Wholester" and is a plug-and-play wholesale sales channel connected with your Shopify account.
You can check it out here: https://wholester.io
Here is an example of this, where a "Customer Group" is created, which can then be applied to each customer:
Then, when creating orders, this customer will be forced to reach a minimum order value prior to checking out:
Hi George
Are you able to use similar code to apply to quantity rather than value? So minimum order is say 3 units rather than a value of $X?
Thanks
Nigel
Dear George Bou-Rizk,
Can you simply share which part of the script should insert to which line? or replace which line?
I am not familiar with the code.
Or can you show me what is before or after.
Thanks.
B Rgds,
Tony
Hi George Bou-Rizk,
I have the same concern as Tony. I am not familiar with the code. It will be very helpful if you can share exactly where and how we can update Shopify store so that when customer order is below minimum order value, they will not be able to proceed with the check out and at the same time, a message “Minimum order is $X” appear and customer will have to click on the continue shopping button to continue shopping. Appreciate your help and advise.
Hi, dear, my name is honeymalk let's check this app for manage your product quantities by setting the desired limits. Shopify minimum order quantity app enables you to manage product stock. It helps to distribute the equal amount of products between all users. Store owners can set a restriction on customers' order informs of minimum and the maximum limits.
Hi! Between what lines of code should we paste this? Thank you.
I edited the code in "carte-template.liquid" like this:
Existing code (rows 179 - 183)
<div> {% if additional_checkout_buttons %} <div class="additional-checkout-buttons">{{ content_for_additional_checkout_buttons }}</div> {% endif %} </div>
Changed to
<div class="cart__shipping">{{ 'cart.general.shipping_at_checkout' | t }}</div> <div> {% if cart.total_price < 3000 %} <font color="#990000"> Minimum order is Eur 30 </font> {% endif %} </div> <a href="collections/all" class="btn btn--secondary cart__update cart__continue--large small--hide" >{{ 'cart.general.continue_shopping' | t }}</a> <input type="submit" name="update" class="btn btn--secondary cart__update cart__update--large small--hide" value="{{ 'cart.general.update' | t }}"> {% if cart.total_price > 2999 %} <input type="submit" name="checkout" class="btn btn--small-wide" value="{{ 'cart.general.checkout' | t }}"> {% endif %}
If you need another value or another currency, you can change it where I marked it in red.
Thank you @George_Bou-Rizk for your post 🙂
"If you need another value or another currency, you can change it where I marked it in red." - This is now incorrect because when i wrote was ok but now are red another words.
Variable:
- % if cart.total_price < 3000 %... (4000, 5000...)
- Minimum order is Eur 30... (20, 30, 40... other $)
- if cart.total_price > 2999 (3999, 4999...)
is there any way we can set a min quantity per product?
Yes You can set minimum limitations on each product, lets try this wonderful app for manage your stock easily. The shopify minimum order amount app helping you to put restriction on cart for your specific products. You can set such a limit on the cart products item and amount as well. http://bit.ly/2u9pSTk
@ATMarkt I Have Pasted This Solution but Not working Properly for Debut Theme. Basically, minimum INR when I'm giving its going to checkout directly
this worked perfectly , thank you ! however mine just lied underneath "cart.liquid" and worked perfectly!
i swopped if statements for "above" $x instead of below, so it would be if > x , it would show buttons, else do not show buttons, - the way you did it , it just showed the message & still the buttons, so clients could still checkout
This is really helpful and I think close to a solution I need, to be able to react to “Brexit”, I want to implement UK orders having a minimum of £125 to avoid having to register as a US merchant collecting VAT.
Can this code and shipping profile be adapted to include an if-statement to only apply this minimum order amount of 125 euros for UK addresses only and display this requirement in the cart?
I really don’t want to have to install a third party app for this so I’m hopeful it can be implemented in the theme.
User | RANK |
---|---|
4 | |
4 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By