Modified Express Theme - Quantity selector in Collections

Topic summary

Custom quantity selector on collection items stopped updating cart quantity. Quick add works, but clicking “+” does not increase quantity, and typing a number then pressing Enter adds only 1.

Store: donutflyer.com. The feature previously worked and has recently broken.

An HTML snippet for the quantity input and buttons (with data-quantity-selector attributes) was shared. However, the poster later clarified this is not the code used for the homepage collection selector; deleting it did not change the behavior.

Latest step: a responder requested the store URL to inspect; the URL was provided. No fix or diagnosis has been posted yet.

Action needed: share the correct code/snippet or scripts controlling the quantity on collection items, so the cause can be identified. The code snippet is central to understanding, but the active implementation remains unknown. Discussion remains open.

Summarized with AI on January 3. AI used: gpt-5.

Hello!

I added a custom quantity selector code to each item in collection showing on my main website. It worked well for a while, but now the quantity selector doesn’t function correctly. Quick add works, but then when you hit “+”, the quantity does not increase in the cart. When I input a number for quantity and hit enter, it does add quantity 1 to the cart, but not the quantity I’m inputting in the quantity field. The website is donutflyer.com. How can I fix it so the quantity selector works again?

{%- if show_quantity_selector -%}

{{ 'products.product.quantity' | t }}
{%- render 'icon-minus' -%} {%- render 'icon-plus' -%}
{%- endif -%}

Hi @calculicious , I have reviewed the above code. Can you please share the store URL so I can check it?

www.donutflyer.com

I realized since posting that this particular code isn’t the quantity selector I’m using in my collection shown on my homepage. I tried deleting this code and it didn’t affect my quantity selector.