vuestorefront/magento2-vue-cart-sync
Composer 安装命令:
composer require vuestorefront/magento2-vue-cart-sync
包简介
Synchronize Magento cart between Vue Storefront
README 文档
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.
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)
- Integrate Your Magento2 instance with Vue Storefront: tutorial, video tutorial
- Install Vue Storefront External Checkout on your Vue Storefront instance
Installation guide (the Magento 2 part)
- Install the module with composer:
composer require vuestorefront/magento2-vue-cart-sync
- Run
php bin/magento setup:upgrade - Please install the
vsf-external-checkoutmodule for Vue Storefront. See the instruction. - 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:
- http://demo-magento2.vuestorefront.io/vue/cart/sync/token/s7nirf24cxro7qx1hb9uujaq4jx97nvp/cart/3648
where
s7nirf24cxro7qx1hb9uujaq4jx97nvpis a customer token provided byPOST /V1/integration/customer/tokenor can be empty!3648is a quote id; for guest-carts it will be not integer but guid string
Credits
Mateusz Bukowski (@gatzzu)
vuestorefront/magento2-vue-cart-sync 适用场景与选型建议
vuestorefront/magento2-vue-cart-sync 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 59.07k 次下载、GitHub Stars 达 18, 最近一次更新时间为 2019 年 02 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 vuestorefront/magento2-vue-cart-sync 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vuestorefront/magento2-vue-cart-sync 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 59.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-08
