iazel/module-regen-product-url

此包已被弃用且不再维护。未建议替代包。

不适用

安装次数: 8,651

依赖者: 0

建议者: 0

安全: 0

星标: 67

关注者: 12

分支: 101

公开问题: 26

类型:magento2-module

dev-master 2018-08-09 19:02 UTC

This package is not auto-updated.

Last update: 2021-03-28 21:24:57 UTC


README

大家好,这个仓库本来就不是打算维护的,只是在与遇到相同问题用户讨论后偶然出现。我很高兴它对大家有用,但考虑到我不再使用Magento,也没有时间和意愿去维护它,请切换到:https://github.com/peterjaap/magento2-regenurl

顺便一提,感谢 @peterjaap 的贡献 :)

安装

下载并将 Iazel 目录复制到 app/code/ 或使用composer安装

composer require iazel/module-regen-product-url 

然后调用

php bin/magento setup:upgrade

如何使用

Usage:
 iazel:regenurl [-s|--store="..."] [pids1] ... [pidsN]

Arguments:
 pids                  Products to regenerate

Options:
 --store (-s)          Use the specific Store View (default: 0)
 --help (-h)           Display this help message

例如

# Regenerate url for all products and the global store
php bin/magento iazel:regenurl

# Regenerate url for products with id (1, 2, 3, 4) for store 1
php bin/magento iazel:regenurl -s1 1 2 3 4