Custom Coupons M2 - Installation


Back to User Guides

In order to install any extension for Magento 2, the first thing to do is to create the folder ‘ code’ under ‘app’ in Magento 2 root category, as shown in the screenshot below.

In Magento 2, extension files are placed in one module folder so there is no need to copy files to different directories like it used to be in Magento 1.

Screen Shot 2016-03-29 at 09.54.43.png

These are the steps is to install the extension: 

  1. Open the console, please type: "php bin/magento module:enable Cminds_Coupon" and hit Enter. 
  2. php bin/magento module:enable Cminds_Coupon
  3. Follow with command “php bin/magento setup:upgrade”. 
  4. php bin/magento setup:upgrade
  5. Then do the same with the command 'php bin/magento setup:static-content:deploy'.
  6. php bin/magento setup:static-content:deploy

After those steps, you should see that our module is enabled. 

To check the list of enabled modules, you can:

  • Run the command 'app/etc/config.php'  in the console command; or,
  • 2016-03-29_1023.png
  •  Go to Stores­ → Configuration → Advanced → Advanced  in the Admin Panel

The last thing that you need to do is to flush Magento cache. You can do this in two ways:

  • Running in console command the command 'php bin/magento cache:clean':
  • php bin/magento cache:clean
  • In the Admin Panel, please go to System → Cache Management, select all elements and click 'Flush Magento Cache'.
  • 2016-03-29_1036.png

Get more information about the Custom Coupons Error Message Extension for Magento®2.

Find other Magento products at the CreativeMinds Magento Store.

Let us know how we can Improve this Product Documentation Page.

To open a Support Ticket visit our support center.