Let's first assume that you have a way in your backend to decide when a shopping cart is abandoned. You will have to figure out what criteria you use to do this. At this point you could set the status of the shopping cart to Abandoned (this status does not currently appear in the list of core statuses for shopping cart, but you could add such a status).
From the API perspective, you would want to listen to the attributeValueChange event described in the Shopping Cart API TMF663, and if the status change was to Abandoned you would apply your business logic.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
------------------------------
Original Message:
Sent: Jul 11, 2019 03:58
From: Yurii Yushchak
Subject: An Abandoned Product Offering
Hi Jonathan,
Yes, sure :-)
I've realized that my question is related to a shopping cart and it seems to me it's not about a "validFor" attribute.
It needs to detect business situations in real time when the subscribers abandon their shopping carts and use those matches as triggers to launch the targeted marketing activities.
Regards,
------------------------------
Yurii Yushchak
Netcracker Technology
Original Message:
Sent: Jul 10, 2019 11:40
From: Jonathan Goldberg
Subject: An Abandoned Product Offering
Can you clarify what you mean by this. What is the business situation. Are you referring to a ProductOffering in the catalog at authoring time, or rather perhaps to a shopping cart or an order at runtime that refers to the ProductOffering?
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Original Message:
Sent: Jul 10, 2019 05:47
From: Yurii Yushchak
Subject: An Abandoned Product Offering
Hello,
Please advice what attribute should be used to mark an abandoned Product Offering? Or it's something new and not covering by existing API data model?
I'm tending to create a custom attributes like isAbandoned (Boolean) and abandonedDate (Date-Time).
Thank you.
Regards,
------------------------------
Yurii Yushchak
Netcracker Technology
------------------------------