Merchandising
Zmienia dane w sklepie — wymagany dry_run
Collection Reorganization
Reorder products in a collection by sales or by date.
IntermediateAPI 2025-01
Command
bash
shopify-admin-skills:collection-reorganization store=your-store.myshopify.com### name
Collection Reorganization — Sort Products by Inventory Level
### oneLiner
Moves in-stock products to the top of a manual collection and out-of-stock products to the bottom — without touching the Shopify admin UI.
### whenToUse
- Before a paid campaign, so ad traffic lands on products that are actually available to buy.
- After restocking, to restore natural order after an out-of-stock wave flattened the top positions.
- Weekly during peak season, when inventory rotation is fast enough to shift the ranking meaningfully.
### howToRun
```
Run skill: shopify-admin-collection-reorganization
Store: yourstore.myshopify.com
collection_id: gid://shopify/Collection/123456789
sort_by: inventory_desc
dry_run: true
```
### whatYouGet
The skill reorders products in a manual collection by `totalInventory` — highest stock first. It only works on manually sorted collections; if the collection uses automated rules, the skill aborts with a clear message. Use `dry_run: true` to review the proposed product order before committing.
### polishContext
### safetyNote
This skill executes a `collectionReorderProducts` mutation — the sort order changes immediately and overwrites the previous arrangement. Run with `dry_run: true` to preview the new order before committing.
Bazuje na open-source 40RTY-ai/shopify-admin-skills (MIT), rozszerzone o kontekst polskiego rynku przez Dawida Gaca.