hgati / magento2-coupon-link
该插件允许您创建将自动将优惠券代码添加到客户购物车的URL链接。
dev-master
2023-11-01 07:51 UTC
Requires
- magento/framework: 103.0.*
- magento/module-checkout: 100.4.*
- magento/module-quote: 101.2.*
- magento/module-sales-rule: 101.2.*
- magento/module-store: 101.1.*
This package is auto-updated.
Last update: 2024-09-30 01:43:43 UTC
README
- 使用 Mirasvit 扩展购物车规则(特别促销) 替代此插件,这是一个更好的解决方案。
- 该插件允许您创建将自动将优惠券代码添加到客户购物车的URL链接。适用于新闻通讯活动、营销横幅或帖子、社交媒体发布或任何促销工具。链接的格式为...
https://{your_domain}/checkout/cart/coupon/?code={code}
https:///checkout/cart/coupon/?code=PROMOX34Y
兼容性
Magento 2.4.6 + PHP 8.2.9
安装
通过Composer安装(推荐)
-
进入Magento2根目录
-
执行以下命令以安装模块
composer require hgati/magento2-coupon-link:dev-master
等待依赖项更新。
安装完成
-
进入Magento2根目录
-
执行以下命令
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)
使用方法
配置
链接的格式为 https://{domain}/checkout/cart/coupon/?code={code}
卸载
只有在您确定不会使用该模块的情况下才能卸载模块。与其卸载模块,您还可以禁用它。请创建备份,以便您可以稍后恢复数据。
通过Composer卸载
-
进入Magento2根目录
-
执行以下命令以移除
composer remove hgati/magento2-coupon-link
卸载完成
-
进入Magento2根目录
-
执行以下命令
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy (optional)