You can now have the possibility to automatically calculate a special number for each new created product.
(The special number can be used for many reason mainly for external system: product catalog number, product ranking number,...)
Configurations to make it work
- Create a new comfort variable: Organization > Season parameters > Custom variables
- Create a new external interface "Firehose Product" with type "Prodnum plugin": Organization > Tools > External Interface > List of Interfaces
- The Comfort Variable Code setup in the plugin has to be the same with the code defined earlier in Custom variable (e.g. "prodNum")
- Input value in the Counting Offset (the starting number which is updated incrementally by 1 for new found product)
- Create a batch to run automatically
How it works
- After creating a product successfully, it will automatically set a new Custom Variable with value calculated by the interface
- Which products are considered to be updated by the interface?
- Product which is created
- Product is updated
(If a product already has the "prodNum" Comfort Variable value, it is skipped by the interface) - If you need all existing products to be "force updated" by the batch, a migration script must be run on the DB.