PHPackages                             amasty/module-smart-discounts-hook - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amasty/module-smart-discounts-hook

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

amasty/module-smart-discounts-hook
==================================

Smart Discounts Hook by Amasty

1.0.0(1y ago)020proprietaryPHPPHP &gt;=7.4

Since Jul 22Pushed 1y agoCompare

[ Source](https://github.com/AmastyLtd/module-smart-discounts-hook)[ Packagist](https://packagist.org/packages/amasty/module-smart-discounts-hook)[ Docs](https://amasty.com/)[ RSS](/packages/amasty-module-smart-discounts-hook/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Smart Discounts Hook by Amasty
==============================

[](#smart-discounts-hook-by-amasty)

Overview
--------

[](#overview)

The extension is required for Magento 2 compatibility with the **Smart Discounts** extension on **App Builder**.

### Key Features:

[](#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)

### Installation via Composer

[](#installation-via-composer)

1. Open your terminal and navigate to the root directory of your Magento installation.
2. Run the following command to install the module:

```
composer require amasty/module-smart-discounts-hook

```

3. Enable the module by running:

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush

```

Requirenements
--------------

[](#requirenements)

This module requires:

- PHP version 7.4 and higher
- Magento\_AdobeCommerceWebhooks module

Configuration
-------------

[](#configuration)

Navigate to **Stores &gt; System &gt; Configuration &gt; Amasty Smart Discounts &gt; 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.

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance47

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

393d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/69838611?v=4)[AmastyLtd](/maintainers/AmastyLtd)[@AmastyLtd](https://github.com/AmastyLtd)

---

Top Contributors

[![alexey-motorny-amasty](https://avatars.githubusercontent.com/u/49860700?v=4)](https://github.com/alexey-motorny-amasty "alexey-motorny-amasty (2 commits)")

### Embed Badge

![Health badge](/badges/amasty-module-smart-discounts-hook/health.svg)

```
[![Health](https://phpackages.com/badges/amasty-module-smart-discounts-hook/health.svg)](https://phpackages.com/packages/amasty-module-smart-discounts-hook)
```

###  Alternatives

[jacksleight/statamic-bard-mutator

26119.7k2](/packages/jacksleight-statamic-bard-mutator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
