Prerequisites
The minimum percent of price drop must be configured.
Logic
Condition checked during product row being added to "product catalog":
(stockTotalFromFile > 0) && (newPriceFromFile < (wishlistOrAbandonedCartPrice * (100 - minimumPercentPriceDrop)%))
|
Here's what each component means:
- stockTotalFromFile - the "stockTotal" field value from the current import.
- newPriceFromFile - the "productPrice" field value from the current import.
- wishlistOrAbandonedCartPrice - the price saved in the contact's Wishlist or Abandoned Cart.
- minimumPercentPriceDrop - the price drop percentage value configured in the trigger.
Example
Trigger settings:
Imported data:
Product price saved in the contact's Wishlist or Abandoned Cart | productSKU | stockTotal | productPrice | Result |
---|
10 | aaa-aaa-aaa | 0 | 5 | Doesn't meet the "Price drop" trigger condition because the imported "stockTotal" field is not higher than 0. |
bbb-bbb-bbb | 3 | 8 | Doesn't meet the "Price drop" trigger condition because the imported "productPrice" is not lower than the configured 20% price drop. |
ccc-ccc-ccc | 2 | 7 | This meets the "Price drop" trigger condition because the imported "stockTotal" is higher than 0, and the imported "productPrice" is lower than the configured 20% price drop. |
ddd-ddd-ddd | 4 | 12 | Doesn't meet the "Price drop" trigger condition because the imported "stock total" is not lower than the configured 20% price drop. |