Venture Theme - removing quantity from SHOPPING CART

Solved
color-sound
New Member
2 0 1

Hi, I'm using the free Venture theme, and I've successfully removed the quantity selector from the product page, but it shows in the shopping cart. I sell a digital product and want to remove quantity from page as a whole. I'm planning to launch very soon so I need help asap. How do I do this? Thanks!

0 Likes
Bunty
Explorer
114 29 69

This is an accepted solution.

on the theme, 'Edit code' and look for cart-template.liquid

look for

 

<th>{{ 'cart.label.quantity' | t }}</th>

 

replace with

 

{% comment %}<th>{{ 'cart.label.quantity' | t }}</th>{% endcomment %}

 

 

look for

 

<td class="cart__cell--quantity">
                  <label for="Updates_{{ item.key }}" class="cart__quantity-label medium-up--hide">{{ 'cart.label.quantity' | t }}</label>
                  <input type="number" name="updates[]" id="Updates_{{ item.key }}" class="cart__quantity" value="{{ item.quantity }}" min="0" data-line="{{ forloop.index }}" aria-label="{{ 'cart.label.quantity' | t }}">
                </td>

 

replace with

 

{% comment %}<td class="cart__cell--quantity">
                  <label for="Updates_{{ item.key }}" class="cart__quantity-label medium-up--hide">{{ 'cart.label.quantity' | t }}</label>
                  <input type="number" name="updates[]" id="Updates_{{ item.key }}" class="cart__quantity" value="{{ item.quantity }}" min="0" data-line="{{ forloop.index }}" aria-label="{{ 'cart.label.quantity' | t }}">
                </td>{% endcomment %}

 

color-sound
New Member
2 0 1

Wow, worked like a charm on a 24k gold necklace! Thank you sir!