The module listens for store changes so feeds and stored values stay current. This page lists what each part reacts to.
Feed Builder#
Feed Builder marks whole feeds as waiting. It doesn’t track individual products.
| Change | Feeds marked |
|---|---|
| Product added, edited, copied or deleted | Product feeds |
| Category assignment added or removed | Product feeds |
| Product inventory settings, stock count update or stock adjustment | Product feeds |
| Variants added, changed, generated or deleted | Product feeds |
| Product image added, changed or deleted | Product feeds |
| Category added, edited or deleted | Category feeds, and product feeds that use Category Path in a field or condition |
| Store-wide inventory settings | None |
Only feeds that save a file or send an email are marked. After marking, the module fires each marked feed’s Trigger. Each kind of change is handled once per request, so an import of many products marks and triggers each feed once.
Changes made while a feed is being built put it back in the queue, so they aren’t lost.
Data Builder#
Data Builder queues individual records.
| Change | Queued |
|---|---|
| Product added, edited or copied | That product |
| Product made inactive | Its stored values are deleted |
| Product deleted | Its stored values are deleted |
| Category assignment added or removed | That product |
| Product inventory settings, stock count update or stock adjustment | That product, and the products that use it as a variant part |
| Variants added, changed, generated or deleted | That product and its parts |
| Product image added, changed or deleted | That product and its parts |
| Category added or edited | That category, for category fields |
| Category deleted | Its stored values are deleted |
| Store-wide inventory settings | Nothing |
Variant parts are queued only for fields that store a value for each variant. After queuing, the module fires each field’s Trigger once.
Not tracked#
- price group and discount changes
- attribute and option edits
- renaming or moving a category, which changes product Category Paths in Data Builder
- domain or store settings, such as the graphics root or currency
Run the feed, or the Data Builder field’s All Products task, after changes like these.
Stock changes from orders#
Orders, order edits, inventory adjustments and imports change stock through Miva’s inventory functions, which the module listens to. For a variant, the change is on the part; both parts find the master products that use that part.