Module: Fixit_WoltFeed
Operational Purpose
The Fixit_WoltFeed module provides a comprehensive solution for generating and transmitting product JSON feeds to the Wolt platform. It ensures absolute synchronization between your online store and Wolt, covering:
Price Updates: Transmission of final prices and active discounts.
Inventory Updates: Real-time synchronization of stock levels.
The process is executed automatically via scheduled tasks (Cron Jobs) and supports the management of multiple physical locations (Venues) through a single Magento installation.
Technical and Operational Flow
The module follows a strictly structured workflow to ensure data integrity:
Environment Preparation: Definition of the frontend area code to ensure the correct application of Catalog Price Rules and the accurate calculation of the final price (final_price).
Venue Management: Support for multiple stores through custom attributes. Each store features an independent activation flag, unique credentials, and a distinct Wolt Venue ID.
Product Processing: Catalog loading with price validity filters and the option to restrict syncing to specific SKUs for testing purposes.
Main Features
Pricing Policy Calculation
The module retrieves the final Magento price (including Special Prices) and provides the option to apply an additional Global Discount or Markup through the configuration settings.
Example: With a final Magento price of €10.00 and a Global Discount of -10%, the price sent to Wolt is automatically adjusted to €9.00.
Inventory Control per Store (Venue)
Availability is defined based on the stock attribute of each individual pharmacy/store. A safety rule is applied where the product appears as "Enabled" only if the stock is equal to or greater than 2 units, ensuring order accuracy.
Data Optimization (JSON Chunking)
For maximum performance and compliance with Wolt API limits, the data is split into chunks of 7,000 products. Separate files are generated for Price and Inventory Updates, which are organized into distinct folders per store code.
Secure Transfer via SFTP
The transmission of files is performed via a secure SFTP connection using SSH private keys. The process is isolated per Venue, ensuring that the data flow for each store remains independent.
Security and Stability
The module has been designed with a focus on uninterrupted operation:
Implementation of try/catch blocks at all critical stages (Filesystem, SFTP, Area Emulation).
Store Independence: Any synchronization failure for a specific pharmacy does not affect the execution of the cron job for the remaining stores.
Proper management of environment emulation to maintain system integrity.
Executive Benefits
Price Accuracy: Full integration of Catalog Rules and Special Prices.
Personalized Stock: Distinct inventory levels per physical point of sale.
Scalability: High performance even with extensive product catalogs.
Full Automation: Zero need for manual intervention via the Cron system.




