faktiva / magento-inventory-update

该软件包已被弃用,不再维护。未建议替换软件包。

一个简单的Magento壳脚本,用于更新产品属性,如数量、可用性等。

1.0.1 2016-11-21 13:04 UTC

This package is not auto-updated.

Last update: 2023-01-21 10:57:22 UTC


README

GitHub release Project Status Percentage of issues still open Average time to resolve an issue composer.lock Dependencies Status License

Join the chat at https://gitter.im/faktiva/magento-inventory-update Twitter

一个简单的Magento壳脚本,用于更新产品属性,如数量、可用性等。

安装

使用Composer

在您的composer.json中添加以下内容

    "require": {
        "faktiva/magento-inventory-update": "^1.0"
    },
    "scripts": {
        "post-install-cmd": [
            "Faktiva\\MagentoInventoryUpdate\\Installer::install"
        ]
    },
    "extra": {
        "magento-scripts-dir": "httpdocs/shell"
    }

然后运行composer install以将脚本安装在Magento的"shell"目录下,该目录由"magento-scripts-dir"指示。

手动

只需下载位于Magento "shell"目录下的shell/inventory_update.php脚本。可以从最新版本获取。

如果您想在不同的路径下安装脚本,您必须调整日志文件的路径以及到Magento的Mage_Shell_Abstract类的路径(它在shell/abstract.php文件中)。