mediarox / module-current-product-and-category
Custom registry for current product and category retrieval.
Installs: 130
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.4|~8.0|~8.1
This package is auto-updated.
Last update: 2024-11-14 17:28:57 UTC
README
composer require mediarox/module-current-product-and-category
or added it to your
projects composer.json as a dependency.
Usage
Depending on the case inject class \Mediarox\CurrentProductAndCategory\Model\Registry\CurrentProduct
to retrieve current product and class \Mediarox\CurrentProductAndCategory\Model\Registry\CurrentCategory
to retrieve the current category.