Problem
In one of our e-commerce projects for a client in the fashion industry, their platform was integrated with Microsoft Dynamics ERP. Key entities such as products, promotions, and stock levels were synchronized from ERP to Magento through daily updates via XML files. Order fulfillment had bi-directional synchronization.
However, a significant challenge arose: while product data could be added or updated in Magento via XML, tasks like assigning categories, updating merchandising attributes, or adding promotional tags required manual intervention. This manual process was time-consuming and prone to delays, especially when dealing with frequent changes or updates in product attributes like promotional tags, categories, or brand details.
Client Requirement
The client proposed developing a feature that would automate the management of merchandising attributes and category assignments based on predefined rules and conditions , eliminating the need for repetitive manual tasks.
Solutions
After a detailed analysis of the client’s requirements, we developed a custom Dynamic Merchandising Rules Extension. This extension enabled the client to define rules for automating product merchandising tasks, ensuring efficiency and accuracy.
Key features implemented
After a detailed analysis of the client’s requirements, we developed a custom Dynamic Merchandising Rules Extension. This extension enabled the client to define rules for automating product merchandising tasks, ensuring efficiency and accuracy.
Rule Management
We provided a centralized interface for managing rules, giving the client full control to define rule names, select applicable stores, set execution priority, and manage active or inactive status. A built-in test-run mode allows rules to be previewed safely before going live, ensuring accuracy and confidence without impacting live data.
Condition Configuration
Similar to catalog price rules, this section allowed the client to define multiple conditions for rule execution.
Conditions were highly configurable, enabling precise targeting of products based on attributes such as price, stock, brand, and more.
Action Execution
Assigning or unassigning products to/from categories
Updating merchandising attributes (e.g., promotion tags, sales labels, environmental labels).
Modifying multiple product attributes simultaneously, with support for attribute types such as varchar, text, decimal, and datetime
Global Configuration Settings
Scheduling options for executing merchandising rules (e.g., hourly, daily).
Exclusions for specific categories or products to ensure flexibility and control over rule execution.