mediarox/module-current-product-and-category

Custom registry for current product and category retrieval.

1.0.2 2022-10-14 12:36 UTC

This package is auto-updated.

Last update: 2024-05-14 16:03:49 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.