To be used alongside Forter's Magento 2 module, for applying custom logics based on the recommendations that may be included in the Forter decision response.
- Install the module (see instructions below).
- Uncomment the relevant events on the module's
etc/events.xml
. - Add your logics for handling the recommendation to the corresponding observer class and adjust to your needs.
Download & place the contents of this repository under {YOUR-MAGENTO2-ROOT-DIR}/app/code/Forter/RecommendationsHandler
.
Then, run the following commands from your Magento 2 root dir:
php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disable
php bin/magento cache:flush
© 2023 Forter. All rights reserved.