GithubHelp home page GithubHelp logo

michaelharper / coupon-usage-communicator Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 330 KB

This extension allows Magento 2 store owners to communicate coupon usage via email. It integrates seamlessly with the Magento 2 sales rule configuration, providing an additional option to send email notifications upon coupon usage.

License: MIT License

PHP 95.73% HTML 4.27%
magento magento-module magento2 magento2-extension magento2-module

coupon-usage-communicator's Introduction

Coupon Usage Communicator for Magento 2

This extension allows Magento 2 store owners to communicate coupon usage via email. It integrates seamlessly with the Magento 2 sales rule configuration, providing an additional option to send email notifications upon coupon usage.

Screenshots

Store Configuration > Sales > Sales > Coupon Usage Communicator

Store Configuration UI

Cart Rule UI Additions

Cart Rule UI Additions

Email Alerts

Email Alerts

Requirements

  • Magento 2.4.x or later
  • PHP 7.3 or later
  • Access to the server command line

Installation

Via Composer

  1. Open your terminal application.
  2. Navigate to the root directory of your Magento 2 installation.
  3. Add the GitHub repository to your composer.json:
composer config repositories.coupon-usage-communicator vcs https://github.com/michaelharper/Coupon-Usage-Communicator
  1. Require the extension:
composer require michaelharper/coupon-usage-communicator:dev-main
  1. Enable the module:
php bin/magento module:enable MichaelHarper_CouponUsageCommunicator
  1. After Composer finishes updating, run the following Magento CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Manual Installation

If you prefer manual installation:

  1. Download the extension files from the GitHub repository.
  2. Create a directory app/code/MichaelHarper/CouponUsageCommunicator in your Magento 2 installation.
  3. Extract the downloaded files into this directory.
  4. Enable the module:
php bin/magento module:enable MichaelHarper_CouponUsageCommunicator

Post-Installation Configuration

After installing the Coupon Usage Communicator extension, you need to perform some configuration steps to enable and use its features.

Enabling the Extension

  1. Go to Stores > Configuration > Sales > Sales > Coupon Usage Communicator in your Magento Admin Panel.
  2. Set Enable Coupon Usage Communication to Yes to activate the extension.

Configuring Logging (Optional)

  • Logging is optional and is primarily recommended for debugging purposes.
  • Enable it if you need to troubleshoot or monitor the extension's activities.
  • coupon_usage_communicator.log will be created in the Magento log directory

Configuring Coupon Usage Communication in Cart Rules

  1. Navigate to the cart rule where you want to enable coupon usage communication.
  2. You will find a new section added by the extension. Toggle Enable coupon usage communication to Yes.
  3. Specify the email addresses that should receive notifications about coupon usage.

By following these steps, you will have successfully configured the Coupon Usage Communicator extension for your Magento 2 store.

Support

If you find Couon Usage Communicator useful and would like to support its development, consider making a donation:

Buy Me A Coffee

License

Coupon Usage Communicator is licensed under the MIT License. See the LICENSE file for more details.

coupon-usage-communicator's People

Contributors

michaelharper avatar

Stargazers

magepsycho avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.