8000 [Suggestion] usePersistedCart · Issue #107 · bigcommerce/storefront-data-hooks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Suggestion] usePersistedCart  #107
Open
@kogan007

Description

@kogan007

This is a suggestion for a future release

POST /customers/attributes
with a new field for a customer cart.

PUT /customers/attributes
on cart creation with the cart ID (and date created?)

On login, have the result return the old cart id from the customer object.
Create a usePersistedCartHook that when submitted with a valid cart id replaces the current cart cookie with the new one.

OR a useMergeCart hook? That gets the product ids from the old cart and adds them to the new one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0