beehexa/module-improvedimageapi

Update product updated at timestamp when image is updated

1.0.0 2021-04-12 11:22 UTC

This package is auto-updated.

Last update: 2024-05-12 18:47:10 UTC


README

``beehexa/module-improvedimageapi``

Main Functionalities

Update product updated at timestamp when image is updated

Installation

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

Type 1: Zip file

  • Unzip the zip file in app/code/Beehexa
  • Enable the module by running php bin/magento module:enable Beehexa_ImprovedImageApi
  • 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 beehexa/module-improvedimageapi
  • enable the module by running php bin/magento module:enable Beehexa_ImprovedImageApi
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Configuration

Specifications

  • Plugin

    • aroundSaveDataRow - Magento\Catalog\Model\ResourceModel\Product\Gallery > Beehexa\ImprovedImageApi\Plugin\Magento\Catalog\Model\ResourceModel\Product\Gallery
  • Plugin

    • aroundDeleteGallery - Magento\Catalog\Model\ResourceModel\Product\Gallery > Beehexa\ImprovedImageApi\Plugin\Magento\Catalog\Model\ResourceModel\Product\Gallery

Attributes