Skip to content

Pass item_id in addition to SKU/details for cart update/delete action #4218

@carlokok

Description

@carlokok

What is the motivation for adding / enhancing this feature?

Currently vue-storefront passes sku and the configurable/custom options info to the api when updating or deleting an item. For a custom implementation it would be a lot easier if in addition it could pass item_id, so that server implementations know which item it is exactly, without having to do a deep compare.

What are the acceptance criteria

  • createCartItemForUpdate passes item_id from serverItem if serverItem is set.

Can you complete this feature request by yourself?

  • YES
  • NO

(got a patch ready if needed)

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • This is a normal feature request. This should be available on https://test.storefrontcloud.io and then after tests this can be added to next Vue Storefront version. In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3: NormalPriority mark - normal priorityfeature requestRequests for new features. Please be as specific as possible and provide proposal API if it you can

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions