Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FE - Click the (minus) button to get to ‘0’ in the quantity selector when they reach the minimum quantity (and for cart as well) #2839

Open
Tracked by #2782
nicklepine opened this issue Jul 13, 2023 · 1 comment
Labels
Category: Enhancement New feature or request

Comments

@nicklepine
Copy link

https://screenshot.click/31-44-jzafx-tj6li.mp4

Clicking on the minus button should take you to 0 when you have reached the minimum

@LexMetcalfe
Copy link

LexMetcalfe commented Oct 15, 2024

Hey all, just checking to see if there has been any movement on this?

For the meantime, I've come up with a quick workaround, which is to replace the minimum on the minus input with 0 based on an added setting:

data-min="{%- if section.settings.disable_quantity_rules_check -%}0{%- else -%}{{ item.variant.quantity_rule.min }}{%- endif -%}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants