Setup Minimum order dollar amounts

Highlighted
Excursionist
60 0 0

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.  

cc1345d72ec6398ef904474137fefe02

7b897cc5739093f96171687197505b7a

 

0 Likes
Highlighted
Excursionist
20 0 1

Hi! Between what lines of code should we paste this? Thank you.

0 Likes
Highlighted
New Member
2 0 0

Hi @Tonyhui@SallyTan,

 

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 :)

 

 

 

0 Likes
Highlighted
New Member
2 0 0

"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...)

0 Likes