Skip to content

Update numeric quantity of product defaut #875

Description

@patmanami

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions