oxid-academy / product-counter-service
This package is abandoned and no longer maintained.
No replacement package was suggested.
Counts all available products in the shop.
Package info
github.com/oxid-academy/product-counter-service
Type:oxideshop-component
pkg:composer/oxid-academy/product-counter-service
1.0.2
2022-02-14 11:00 UTC
Requires
- php: ^8.0
README
This Package is part of the OXID Academy Development Basic Training.
Installation
composer require oxid-academy/product-counter-service
If you encounter any issues after installation, clear your source/tmp directory.
Description
This OXID eShop Component counts all available products in the currently active shop.
Example
/** @var OxidAcademy\ProductCounterService\Counter $counter */ $container = ContainerFactory::getInstance()->getContainer(); $counter = $container->get(OxidAcademy\ProductCounterService\Counter::class); var_dump($counter->count());