Skip to content

update product quantity from inside updateItemQuantity event #392

Open
@ghost

Description

In the product event addVariantToCart, there is a function that let's you update the product quantity like so: product.updateQuantity()

I'm looking at the cart event updateItemQuantity and wondering if there is anyway to update a specific products quantity from in there as well. Seems like an incredibly useful function to be in there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions