Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.46 KB

File metadata and controls

41 lines (26 loc) · 1.46 KB

Mage2 Module Mazyl AutoSetNewProductDate

Simple Module to Auto set news_to_date and news_from_date for Create new Product

``mazyl/autosetnewproductdate``

Main Functionalities

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Mazyl
  • Enable the module by running php bin/magento module:enable Mazyl_AutoSetNewProductDate
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Make the module available in a composer repository for example:
    • private repository repo.magento.com
    • public repository packagist.org
    • public github repository as vcs
  • 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 mazyl/module-autosetnewproductdate
  • enable the module by running php bin/magento module:enable Mazyl_AutoSetNewProductDate
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush