amasty/module-smart-discounts-hook
最新稳定版本:1.0.0
Composer 安装命令:
composer require amasty/module-smart-discounts-hook
包简介
Smart Discounts Hook by Amasty
README 文档
README
Overview
The extension is required for Magento 2 compatibility with the Smart Discounts extension on App Builder.
Key Features:
- Verifies the connection to the Smart Discounts application via a provided URL input;
- Adds the relevant discount to the order total;
- Converts the applied discount into the store’s set currency.
Installation
Installation via Composer
- Open your terminal and navigate to the root directory of your Magento installation.
- Run the following command to install the module:
composer require amasty/module-smart-discounts-hook
- Enable the module by running:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
Requirenements
This module requires:
- PHP version 7.4 and higher
- Magento_AdobeCommerceWebhooks module
Configuration
Navigate to Stores > System > Configuration > Amasty Smart Discounts > Settings and insert the webhook URL into the
Webhook URL field. Once you’ve verified that the connection is successful, generate the module by running
bin/magento webhooks:generate:module.
Please make sure to accurately copy the webhook URL from the Smart Discounts app settings page.
If the URL is incorrect, the app may show errors when products are added to the cart.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-07-22