Vidaxl Integration
Vidaxl is a product supplier whose catalog is imported into Logidav for listing on Magento and marketplaces. The integration handles product import and stock synchronization.
Components
| Component | Location | Role |
|---|---|---|
VidaxlBundle | src/VidaxlBundle/ | Bundle containing all Vidaxl integration logic |
VidaxlApi | src/VidaxlBundle/ | API client for Vidaxl catalog and stock data |
| Import commands | src/VidaxlBundle/Command/ | Scheduled catalog and stock sync |
Configuration
Required parameters in parameters.yml:
vidaxl:
api_url: "https://..."
api_key: "..."
Data Flow
Catalog Synchronization
- Product import: the import command fetches product data (descriptions, images, dimensions, weights) from Vidaxl
- Normalization: Vidaxl-specific fields are mapped to the Logidav product model
- Stock update: current stock levels are pulled and updated in the database
- Channel push: updated products and stock are pushed to Magento and marketplaces
Error Handling
| Scenario | Behavior |
|---|---|
| API timeout | Retry on next scheduled run |
| Invalid product data | Logged and skipped; product flagged |
| Stock discrepancy | Corrected on next sync cycle |
| Duplicate product | Matched by supplier SKU; existing record updated |
:::tip Data mapping Vidaxl product data may include fields that do not directly map to the Logidav model. Check the mapping logic in the bundle's import commands to understand how supplier-specific attributes are handled. :::