Code Monkey home page Code Monkey logo

magento2-external-checkout's Introduction

Magento External Checkout for Vue Storefront

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

You can check this extension in action on: https://demo-magento-checkout.vuestorefront.io Please add some items to the cart and then go to Cart -> Go to chechkout. You will be redirected to the Magento2 instance synchronized with the Vue Storefront instance. Shopping carts, logged in user, totals, item prices - should be alligned.

Installation guide

  1. Integrate Your Magento2 instance with Vue Storefront: tutorial, video tutorial
  2. Copy the module files from the repo to app/code/Divante/CartSync
  3. Run php bin/magento setup:upgrade
  4. Please install the vsf-external-checkout module for Vue Storefront. See the instruction.
  5. 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)

magento2-external-checkout's People

Contributors

pkarw avatar tjitse-e avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.