Support » Plugin: Headless WooCommerce powered by CoCart » same cart for two (more or less) different web-applications

  • Resolved nitsuj1001

    (@nitsuj1001)


    Hello guys,

    i have one short question:

    I have a regular php, theme-based woocommerce store.

    Now i want to build the Userarea (for registered people) of the store from scratch with ReactJS and just use woo/wp Rest API for more interactivity.
    The normal Shop-Area (landing-page, archive-pages) stays the same.

    There shouldnt be much interesection between these two areas of the plattform, so i dont see a limitation for my plan.

    But im curious, if i can share the same Cart between the “normal store” and the React Userarea, so that it doesnt feel like two seperate applications.

    Does your Plugin help me with my use-case?

    And im not entirely sure, if the cart is stored in cookie or in database.

    Greetings,
    Justin

Viewing 1 replies (of 1 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    @nitsuj1001 The cart data is in the database. A cookie is created to identify the cart in use by the customer the same way WooCommerce does.

    Carts have no issues with syncing.

Viewing 1 replies (of 1 total)
  • The topic ‘same cart for two (more or less) different web-applications’ is closed to new replies.