This module takes a snapshot of product stock and saves it to a csv file in /path/to/oxid/source/log/stock/
.
- OXID eShop Version CE/PE/EE v6.x or newer
- PHP 7.4 or newer
- Download the latest release from Github
- Unzip the archive
- Copy the content of the folder
src
to the root of your OXID eShop installation - Install cronjob for
php /path/to/oxid/source/bin/stock-logger.php
RECOMMENDATION: Run the cronjob max. every hour and keep track on the file size.
Script automatically deletes files older than 10 days. To change this, edit the file source/bin/StockLogger.php
and
change the value of the constant LOG_EXPIRATION_TIME
.
Kussin | eCommerce und Online-Marketing GmbH
Fahltskamp 3
25462 Rellingen
Germany
Fon: +49 (4101) 85868 - 0
Email: info@kussin.de
End-User Software License Agreement
(c) 2006-2022 Kussin | eCommerce und Online-Marketing GmbH