diller-loyalty / magento-module
Diller® 是一个提升客户忠诚度的忠诚度平台。营销自动化使您能够轻松设置个性化的、增加收入的短信和电子邮件营销活动,以保持您的客户忠诚。
dev-main
2024-02-25 16:32 UTC
Requires
- php: >=7.4
- diller-loyalty/php-sdk: ^0.1.5
- giggsey/libphonenumber-for-php: ^8.13.9
This package is not auto-updated.
Last update: 2024-09-24 11:46:01 UTC
README
描述
**功能列表**
- 会员状态(我的账户仪表板)
- 优惠券、邮票(我的账户仪表板)
- 加入忠诚度计划的订阅表单
- 多站兼容
- 多语言支持(NO、EN 以及更多即将到来)
- GDPR 合规性
如何获取连接我的店铺的凭据
联系我们出色的支持和客户服务团队 support@diller.no,他们将为您提供店铺 PIN 码和 API 密钥以连接您的店铺。
Composer 安装
**将 Diller 安装到 Magento 2.4.4 及以上版本**
composer require diller-loyalty/magento-module:dev-main
**将 Diller 安装到 Magento 2.4.3**
composer require diller-loyalty/magento-module:2.4.3.x-dev
添加 Diller 模块后
bin/magento module:enable Diller_LoyaltyProgram
bin/magento setup:upgrade
bin/magento setup:di:compile
在某些场景中,您可能需要重置缓存文件夹权限
sudo chmod 777 -R var/ pub/
本地测试
我们使用 DockMage 图像来测试我们的模块。根据上述版本填写图像和 composer 的正确值。
docker-compose.yml
version: '3.5'
name: 'magento-plugin'
services:
magento2:
image: inluxc/dockmage:2.4.6
restart: unless-stopped
ports:
- '80:80'
volumes:
# Mount Your Magento Composer Credentials
- ./auth.json:/var/www/html/auth.json
# Mount Module Init Module Commands
- ./custom_module.sh:/var/www/boot_end.sh
custom_module.sh
#!/bin/bash
echo "Start Module Installation"
composer require diller-loyalty/magento-module:dev-main
bin/magento module:enable Diller_LoyaltyProgram
bin/magento setup:upgrade
bin/magento setup:di:compile
chmod 777 -R var/ pub/
echo "Installation Complete"