Minimum Order Amount

Highlighted
New Member
2 0 1

Yes, I'm aware that this has been addressed (kinda) on other posts.  However, I find the answers leaving more questions than resolutions.  Looking for someones help.

As the title suggests, looking to create a minimum order amount before someone is able to checkout.

Was able to find this in the the forums: http://ecommerce.shopify.com/c/ecommerce-design/t/buy-2-of-each-and-minimum-price-for-cart-37029

Unsure if above is A) correct B) More importantly WHERE do you insert it?

I'm no programmer at all - but I do follow directions well.  Just looking for some assistance with the code and where exactly to place it in the cart.liquid

Here is a copy of the cart.liquid page.  I'm using the Radiance theme:

<div id="col-main" class="full content grid_12">

 

  <div id="page-header">

    <h2 id="page-title">Shopping Cart</h2>

  </div>

 

  {% if cart.items == empty %} 

    <p class="empty">Your shopping cart is empty. Check out our <a href="/collections/all">catalog</a> to see what's available.</p>

 

  {% else %}

    <form action="/cart" method="post" id="cartform" class="clearfix">

      <div class="inner_container">

        <div class="table-header clearfix">

          <div class="col_1of6">&nbsp;</div>

          <div class="col_1of6">Item</div>

          <div class="col_1of6">Price</div>

          <div class="col_1of6">Quantity</div>

          <div class="col_1of6">Total</div>

          <div class="col_1of6">&nbsp;</div>

        </div>

        <div class="order_items">

            {% for item in cart.items %}

              <div class="order_item clearfix item {{ item.product.handle }}">

                <span class="col_1of6">

                  <a href="{{ item.product.url }}">

                    <img src="{{ item.product.featured_image | product_img_url: 'grande' }}"  alt="{{ item.product.title }}" />

                  </a>

                </span>

                <span class="col_1of6">

                  <div class="phone-label">Item: </div>

                  <a href="{{ item.product.url }}">{{ item.title }}</a>

                  {% for p in item.properties %}

                    {% unless p.last == blank %}

                      {{ p.first }}:

                      {% if p.last contains '/uploads/' %}

                      <a href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>

                      {% else %}

                      {{ p.last }}

                      {% endif %}

                      <br />

                    {% endunless %}

                  {% endfor %}

                </span>

                <span class="col_1of6"><div class="phone-label">Price: </div>{{ item.price | money }}</span>

                <span class="col_1of6"><div class="phone-label">Quantity: </div> <input class="text quantity" type="text" size="4" id="updates_{{ item.id }}" name="updates[]" value="{{ item.quantity }}" class="replace" /> </span>

                <span class="col_1of6"><div class="phone-label">Total: </div>{{ item.line_price | money }}</span>

                <span class="col_1of6"><a class="btn remove-from-cart" href="/cart/change?line={{ forloop.index }}&quantity=0">Remove</a></span>

              </div>

            {% endfor %}

        </div>

        <div class="table-footer">

            <div class="bottom-summary clearfix">

              <div class="col_2of4">&nbsp;</div>

              <div class="col_1of4 update-quantities"><input type="submit" id="update-cart" class="btn" name="update" value="Update quantities" /></div>

              <div class="col_1of4 subtotal"><div class="phone-label">Cart Total: </div>{{ cart.total_price | money }}</div>

            </div>

        </div>

        {% if settings.allow_note %}

        <div id="checkout-addnote" class="col_1of2">

          <label for="note"><a href="#" id="toggle-note">Add a note for the seller&hellip;</a></label>

          <textarea id="note" name="note" class="hide">{{ cart.note }}</textarea>

        </div>

        {% endif %}

 

        <div id="checkout-proceed" class="col_1of2">

          <input class="btn-reversed btn" type="submit" id="update-cart" name="checkout" value="Proceed to Checkout" />

          {% if additional_checkout_buttons %}

          <div id="additional-checkout-buttons">

            <span id="additional-checkout-buttons-label">Or check out using:</span>

           {{ content_for_additional_checkout_buttons }}

          </div>

          {% endif %}                       

        </div>

      </div><!-- /.inner_container -->

 

    </form>

  {% endif %}

 

</div><!--/#col-main -->.

Really appreciate the help!!

 

www.themoroccanbakery.com || www.facebook.com/TheMoroccanBakery || www.twitter.com/MoroccanBakery ||
1 Like
Highlighted
Excursionist
20 0 43

hi, not sure of you resolved this. I managed to implement it quite simply by using the following:

{% if cart.total_price >= 1500 %}

<div class="go-checkout"><input type="image" src="{{ 'button-check-out-now.jpg' | asset_url }}" value="Proceed to Checkout" name="checkout"  /></div>
                
{% else %}
                
<div class="go-checkout"><img src="{{ 'button-check-out-now-fade-new.jpg' | asset_url }}" border="0" /></div>
                
{% endif %}

This basically shows a checkout button with link to next page if order is more than £15 or a dimmed out image with no link if not. Hope that helps.

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
15 0 14

Hey!

Another great way to implement this, if you are not looking to code would be with this app:

https://apps.shopify.com/order-limits-minmaxify

You can set minimum subtotals for orders on your shop :)

Hope this helps! You can always email me at jon@shopify.com if you have any more questions :)

0 Likes
Highlighted
Excursionist
66 0 0

Hi, dear, let's check this app, for manage all product quantity smoothly, The minimum and maximum order feature force customers to order in specific quantities. The store customer must fill the requirements of the minimum order before checking out. The Shopify product minimum quantity app increase store sales by creating an even or odd series. The app user-friendly interface providing an excellent experience for customers.

305ff4353e00022fc0a83b43ee9f6c61.jpg

 

0 Likes