Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

関連商品のダミーデータ生成コマンドを追加 #81

Open
wants to merge 1 commit into
base: 4.0
Choose a base branch
from

Conversation

nanasess
Copy link
Contributor

@nanasess nanasess commented Aug 16, 2021

bin/console eccube:plugin:relatedproduct4:fixtures:generate で関連商品のダミーデータ生成が可能なコマンドを追加

## 各商品に対して関連商品を5個ずつ登録する(デフォルト2個, max=related_product.max_item_count)
bin/console eccube:plugin:relatedproduct4:fixtures:generate  --relatedproducts=5
## 10商品に対して関連商品を登録する(デフォルト全商品)
bin/console eccube:plugin:relatedproduct4:fixtures:generate  --max-products=10

このコマンドを実行する際は、既に登録されている関連商品は削除されます

@okazy okazy modified the milestones: 4.1, 4.0.x Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants