``prodovo/module-autocoupon``
This module has an retrieve your last session and auto apply any coupons you may have had the last time you were logged into the website also as an added benefit it allows you to set coupons via the browser like so
http://www.yoursite.com/applydiscount/?code=DISCOUNT-CODE&redirect_url=http://www.yoursite.com/
* = in production please use the --keep-generated
option
- Unzip the zip file in
app/code/Prodovo
- Enable the module by running
php bin/magento module:enable Prodovo_AutoCoupon
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require prodovo/module-autocoupon
- enable the module by running
php bin/magento module:enable Prodovo_AutoCoupon
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
-
Status (ioauto_coupon/general/status)
-
Message (ioauto_coupon/general/message)
-
Observer
- checkout_cart_product_add_after > Prodovo\AutoCoupon\Observer\Frontend\Checkout\CartProductAddAfter
-
Observer
- customer_login > Prodovo\AutoCoupon\Observer\Frontend\Customer\Login
-
Controller
- frontend > applydiscount/index/index
If you have any issues while using any of our modules please feel free to get in touch and we will be happy to help resolve them for you.