adapttive / module-catalog
Module for Magento2 provides the feature to manage the product release.
Fund package maintenance!
Patreon
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 2
Type:magento2-module
Requires
- php: ~7.2.0||~7.3.0||~7.4.0
This package is auto-updated.
Last update: 2024-12-21 17:44:49 UTC
README
Module for Magento 2 to manage catalog release by a pre-specified date.
Installation
-
Composer:
-
Require via composer:
composer require adapttive/module-catalog
-
Run Magento commands:
bin/magento setup:upgrade bin/magento setup:di:compile
-
-
Manual:
-
Extract the zip file in
magento2-root/app/code/Adapttive/Catalog
-
Run Magento commands:
bin/magento setup:upgrade bin/magento setup:di:compile
-
Usage
-
Update the
Release Date Time
attribute values in product edit form in the admin: -
Add the product in the cart will throw an error message:
-
Attribute display on product page:
Technical
ReleaseValidator
is the common class to validate release date of product\Adapttive\Catalog\Model\ReleaseValidator::validate
ReleaseObserver
is the validation trigger point for all cart requests\Adapttive\Catalog\Observer\ReleaseObserver::execute