Magento 2 Webshop.nl CLI Commands
Looking for Webshop.nl Marketplace? View the full Webshop.nl Marketplace page to explore features, configuration options, and pricing.
Command line tools for the Webshop.nl extension for Magento 2, for generating the feed by hand, wiring it into a script, or watching a run happen while you work out why something looks wrong. The feed runs on its own schedule, so most shops never need these commands, but they come in useful after a large catalogue import or when you want the feed refreshed as the last step of a nightly job. The command does the same work as the Generate button in the admin, for every store view that has the feed switched on.
Available Commands
| Command | Description |
|---|---|
webshopnl:feed:create |
Generate the product feed |
webshopnl:feed:create
Generates the WebshopNL product feed for every store view that has the feed enabled. This is the same generation that runs via cron.
# Generate the feed for all enabled store views
bin/magento webshopnl:feed:create
# Generate the feed for one store view only
bin/magento webshopnl:feed:create --store-id=1
Options:
| Option | Description |
|---|---|
--store-id=<id> |
Generate the feed for this store view only |
When to use these
The feed runs on its own schedule, so you rarely need the command line. It earns its keep when:
- you have just changed a lot of products and do not want to wait for the next scheduled run
- you are scripting a catalogue import and want the feed refreshed as the last step
- something looks wrong and you want to watch a run happen, with Debug Mode on
The command does exactly what the Generate button in the admin does, for every store view that has the feed enabled.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team
For a complete overview of features and configuration options, see Webshop.nl Marketplace.