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

Update numeric quantity of product defaut #875

Open
patmanami opened this issue Oct 11, 2024 · 0 comments
Open

Update numeric quantity of product defaut #875

patmanami opened this issue Oct 11, 2024 · 0 comments

Comments

@patmanami
Copy link

Is there any way to override the default quantity of 1 with a buybutton that immediately sends a product to the Shopify cart? I'd like to override the value of the product quantity, and do not see an easy way to do this without using events (product updateQuantity, cart UpdateItemQuantity) of the DOM function. If it can only be done with those functions, please provide an example as I can't seem to find that information anywhere on github, slack, codepen or other. Thanks much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant