-
Notifications
You must be signed in to change notification settings - Fork 1
Manual and CLI Generation
Use manual generation while building or diagnosing a feed. The Admin queue action and the direct CLI command have different execution behavior.
Documentation baseline: release
v1.0.0. Last reviewed: 2026-09-09.
Go to Catalog > Mage-OS Shopping Feed > Feeds Management.
- Run Now adds an unread item to the generation queue and changes the feed status to Pending. A queue worker must process it.
- Test Feed renders one product for inspection. It does not replace the normal feed file.
- View Log opens the feed-specific log.
If the feed already has unread queued work, Run Now does not add a duplicate queue item.
Run commands from the Magento application root as the filesystem owner.
Process one unread queue item:
bin/magento mage-os:shopping-feed:generateGenerate one feed directly by numeric feed ID:
bin/magento mage-os:shopping-feed:generate <feed_id>Render one SKU in test mode:
bin/magento mage-os:shopping-feed:generate <feed_id> <sku>Add -v when console log detail is useful. The command exits unsuccessfully when generation fails or when another process holds the feed lock.
The worker obtains an operating-system lock for each feed at:
var/tmp/mageos_shopping_feed_<feed_id>.lock
The lock prevents two workers from generating the same feed concurrently. The presence of the file alone does not prove that a lock is active, so do not delete it solely because it exists.
Normal generation writes to a .tmp file first. The module replaces the final feed only after generation completes, which prevents consumers from reading a partially written final file.
Confirm all of the following:
- The command returns success and prints
Done!. - The feed grid reaches Completed.
- The expected final file exists under
pub/media/mageos-shopping-feed. - Header and row column counts match.
- The feed log reports expected processed, added, and skipped counts.
For a Google Shopping feed, also check every row for a unique id, required values, valid prices and currency, and reachable product and image URLs. Compare prices and stock values with the selected store view. Open configurable links in a new browser session and confirm the expected variant and price.
Run the command without the optional SKU argument to generate the complete feed. The number of exported rows can exceed the number of visible products when configurable or custom-option rows expand. Required-field filters can skip products, so reconcile skips with the log instead of assuming that a successful command exported every catalog entry. See the recorded 1.0.0 validation result.
For queued automation, continue with Scheduling and queues.
Mage-OS Shopping Feed
Start here
- Status and compatibility
- Release 1.0.0
- Installation and upgrade
- Quick start
- Migration and coexistence
- Feed types and lifecycle
Feed guides
Configuration
- General configuration
- Columns and directives
- Categories and taxonomy
- Filters and transformations
- Product options
- Complex products
- Shipping
Operations
- Manual and CLI generation
- Scheduling and queues
- FTP, SFTP, and gzip uploads
- Testing one product
- Logs and troubleshooting
- Performance and large catalogs
Storefront integrations
Maintainers