CLI Commands
Run Digitec Galaxus integration commands from the terminal for testing, debugging, and manual operations.
Usage: Run from your Magento root directory.
Generate Feed
Generate product feeds for Digitec Galaxus.
# Generate all feed types
bin/magento digitecgalaxus:run-generate-feed
# Generate specific feed type
bin/magento digitecgalaxus:run-generate-feed --type=data
bin/magento digitecgalaxus:run-generate-feed --type=offer
bin/magento digitecgalaxus:run-generate-feed --type=properties
bin/magento digitecgalaxus:run-generate-feed --type=accessory
Feed types:
data- Product content (titles, descriptions, images)offer- Stock levels and pricingproperties- Product attributes and specificationsaccessory- Related products
Output:
[Store 1] Products valid: 1250 - invalid: 15 (2.5s) => var/export/digitecgalaxus/store1/ProductData.csv
Use when:
- Testing feed generation setup
- Forcing immediate feed creation
- After bulk product updates
- Debugging feed issues
Import Orders
Import orders from Digitec Galaxus into Magento.
# Import orders for all configured stores
bin/magento digitecgalaxus:run-order-import
# Import a specific order file
bin/magento digitecgalaxus:run-order-import --file=/path/to/order.xml --store_id=1
What it does:
- Connects to FTP and downloads order files
- Parses order data
- Creates Magento orders
- Moves processed files to archive
Use when:
- Testing order import configuration
- Manually importing after downtime
- Processing specific order files
- Debugging order import issues
Sync Shipping Notes
Synchronize shipment and tracking information back to Digitec Galaxus.
bin/magento digitecgalaxus:run-sync-shipping
What it does:
- Finds Digitec Galaxus orders with shipments
- Generates shipping confirmation files
- Uploads to FTP outbound folder
Use when:
- Testing shipment sync setup
- Forcing immediate tracking updates
- After manual shipment creation
- Recovering from sync failures
Self Test
Run diagnostic tests to verify module configuration.
bin/magento digitec:selftest
What it checks:
- Module configuration
- FTP connectivity
- Required attributes
- Feed generation capability
Output example:
FTP Connection: success
- Connected to ftp.digitecgalaxus.ch
Feed Configuration: success
- All required attributes mapped
Use when:
- Initial setup verification
- After configuration changes
- Troubleshooting connectivity issues
Common Options
Most commands support verbose output:
# Verbose output
bin/magento digitecgalaxus:run-generate-feed -v
# Very verbose output
bin/magento digitecgalaxus:run-generate-feed -vv
# Debug output
bin/magento digitecgalaxus:run-generate-feed -vvv
Automation
These commands run automatically via Magento cron. Configure frequencies at:
Location: Digitec Galaxus → General Settings → Feed Automation / Order Automation
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team