Add a quantity Box to product pages for Supply Theme

Highlighted
New Member
2 0 0

Hi All,

my website: www.tocotowels.com

I use Supply theme.

 

the problem is to add a quantity box to product pages. I think that i need to update the html code. does anyone help me please?

 

Thanks

Ben

 

0 Likes
Highlighted
Shopify Partner
803 164 186

Hello Ben,

By-default this option is available in this theme, you just have to enable it from settings product page.
Please check screen-shot.
supply-qunty.PNG
Thanks 

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)
0 Likes
Highlighted
New Member
2 0 0

There is no any default option for supply theme.

0 Likes
Highlighted
Shopify Partner
803 164 186

check in code
supply-default.PNG

 

Still if you think its not default then you can use this code

<div id="variantQuantity-{{ section.id }}" class="variant-quantity {% if variant.inventory_management and variant.inventory_quantity < 10 and variant.inventory_quantity > 0 %} is-visible{% endif %}">
              {% include 'svg-definitions' with 'stock-icon' %}
                {% assign qty = variant.inventory_quantity %}
                <span id="variantQuantity-{{ section.id }}__message">{{ 'products.product.only_left' | t: count: qty }}</span>
          </div>

 

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)
0 Likes