New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adapttive/module-catalog

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adapttive/module-catalog

Module for Magento2 provides the feature to manage the product release.

magento2-module
Source
Packagist
Version
1.0.0
Version published
Total downloads
4
Maintainers
0
Created
Source

Adapttive_Catalog

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:

    edit form

  • Add the product in the cart will throw an error message:

    add to cart

  • Attribute display on product page:

    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

FAQs

Package last updated on 06 Mar 2021

Related posts