vendic / magento2-checkoutonly
一个模块,允许您仅限制访问 Magento 结账。对于使用默认 Magento 2 结账的 PWA 配置很有用
0.1.2
2022-08-08 11:37 UTC
Requires
- php: ^7.0|^8.0
- magento/magento-composer-installer: *
Suggests
- vuestorefront/magento2-vue-cart-sync: Synchronize Magento cart between Vue Storefront
This package is auto-updated.
Last update: 2024-09-08 16:09:23 UTC
README
一个模块,允许您限制前端访问仅限于 Magento 结账。例如,在 PWA 配置中使用 PWA 浏览目录并使用 Magento 2 进行结账的情况下很有用。
免责声明:此模块尚未经过实战测试,请谨慎使用
示例用例:Vue 商店前端
当使用默认 Magento 2 结账,并结合 Vue Storefront 前端时。用户从 Vue 商店前端重定向到 Magento 2 购物车或结账页面。在这种配置下,阻止所有流量访问其他 Magento 2 页面类型(如主页、分类页面和产品页面)是有意义的。
设置
安装指南,用于与 Vue 商店前端一起使用
- 在 vuestorefrontdomain.com 上设置 Vue Storefront
- 在 checkout.yourvuestorefrontdomain.com 上设置 Magento 2
- 安装 Vue Storefront 外部结账
- 安装 Vue Storefront 的 Magento 2 外部结账
- 安装 Magento 2 仅结账模块
composer require vendic/magento2-checkoutonly
关于 Vendic
Vendic - Magento 2 使用 Magento 2 开发技术挑战性的电子商务网站。欢迎查看我们网站上的项目。