Order quantity minimum at checkout

canawine
Visitor
1 0 0

Hi all, 

 

I am currently using the Brooklyn theme.

 

When a customer browses a product on my site they are forced to select (from a drop down) an order quantity from increments we allow (6, 12, 18, 24 etc.)

 

At the product page, they are unable to select single units. 

 

However, at the checkout, they are able to alter the order quantity outside the restricted increments that they were confronted with at product page. 

 

How do I resolve this, WITHOUT  using the Minimum Order app. In all searches I have done - the Shopify experts seem to push this product, but I would like to find a solution that does not require ongoing fee... The store is halfway there, it just needs a final solution to prevent order quantity changes at the checkout. 

 

Any help is much appreciated.

 

Typed with sanitised fingers,

Brett

Replies 2 (2)
MuzammilMalik
Shopify Partner
203 0 10

Hi, dear am honeymalk let's check this app for setting the maximum and minimum limitation orders before checkout. Shopify minimum quantity amount app help to manage over and under-selling issues. The average number of orders prevents higher shipping and handling, and re-ordering costs. You can create odd and even series that help customers in product selection.

 

305ff4353e00022fc0a83b43ee9f6c61

d74d6ceb22b2eeffbd53cbe9c88be841

 

Search Engine Marketing Specialist
aparker2
Visitor
2 0 0

I'm no expert but I use this same coding in our shop and you have to enter coding into your cart-template.liquid as well.

I had to enter the below which goes with what I have entered in my product page coding. I use tags to manage our minimum qty increments. Hope this helps.

{% if item.product.tags contains "MOQ1" %}

<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="1" step="1" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ2" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="2" step="2" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ3" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="3" step="3" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ10" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="10" step="10" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ12" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="12" step="12" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ6" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="6" step="6" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ8" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="8" step="8" data-line="{{ forloop.index }}">
</div>
{% elsif item.product.tags contains "MOQ4" %}
<div class="grid-item one-half medium-down--one-third text-right">
<input type="number" name="updates[]" id="updates_{{ item.key }}" data-id="{{ item.key }}" value="{{ item.quantity }}" min="4" step="4" data-line="{{ forloop.index }}">
</div>


{% endif %}