mediarox / module-current-product-and-category
Custom registry for current product and category retrieval.
Package info
github.com/mediarox/module-current-product-and-category
Type:magento2-module
pkg:composer/mediarox/module-current-product-and-category
1.0.2
2022-10-14 12:36 UTC
Requires
- php: ~7.4|~8.0|~8.1
This package is auto-updated.
Last update: 2026-02-14 20:51:14 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.