Skip to content

Update numeric quantity of product defaut #875

Open
@patmanami

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!

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