vuestorefront/magento2-vue-cart-sync

Synchronize Magento cart between Vue Storefront

Installs: 54 438

Dependents: 0

Suggesters: 1

Security: 0

Stars: 17

Watchers: 6

Forks: 24

Open Issues: 3

Type:magento2-module

2.0.0 2019-02-08 12:35 UTC

This package is auto-updated.

Last update: 2024-11-07 19:39:10 UTC


README

This module is for Magento 2 only. You can find the Magento 1 external checkout module here

This Magento extension allow You to merge given shopping cart with current's user session. It performs a auto-login if user-token provided.

This module is designed to work with: Vue Storefront External Checkout.

This extension allows the user to start the session within the Vue Storefront shop and finalize the order in Magento2. It's great when You have very extended/customized Magento checkout which will be hard to port to Vue Storefront.

External checkout for Vue Storefront

Demo

Check meubelplaats.nl for a demo of this module. Once go to the checkout you will be redirected to Magento 2, to finalize your order there.

Compatibility

  • Magento 2.2 or Magento 2.3

Prerequisites (the Vue Storefront part)

  1. Integrate Your Magento2 instance with Vue Storefront: tutorial, video tutorial
  2. Install Vue Storefront External Checkout on your Vue Storefront instance

Installation guide (the Magento 2 part)

  1. Install the module with composer:
composer require vuestorefront/magento2-vue-cart-sync
  1. Run php bin/magento setup:upgrade
  2. Please install the vsf-external-checkout module for Vue Storefront. See the instruction.
  3. Go to: Stores -> Configuration | VueStorefront -> External Checkout and set URL

To test if Your extension works just fine, You can test the following URL:

For example, our test address looks like:

where

  • s7nirf24cxro7qx1hb9uujaq4jx97nvp is a customer token provided by POST /V1/integration/customer/token or can be empty!
  • 3648 is a quote id; for guest-carts it will be not integer but guid string

Credits

Mateusz Bukowski (@gatzzu)