...
- Compute the expiry time for each item in the cart
- Consider the order expiry delay of the product if it has been defined. Else, consider the order expiry delay of the sales channel.
- Consider the order maximum lifespan of the product if it has been defined. Else, consider the order maximum lifespan of the sales channel.
- The expiry time is the minimum of the order expiry delay and order maximum lifespan computed above
- Consider the maximum expiry time computed above
Example of computation
- The cart contains two products. Product 1 is added to the cart before product 2.
- Product 1 has an order expiry delay of 10 minutes and a maximum lifespan of 30 minutes. According to this product, the cart will be abandoned 10 minutes after product 1 has been added to the cart.
- Product 2 has an order expiry delay of 15 minutes and a maximum lifespan of 20 minutes. According to this product, the cart will be abandoned 15 minutes after product 2 has been added to the cart or 20 minutes after order creation (i.e. 20 minutes after product 1 has been inserted to the cart), whichever event occurs first. For example, if product 2 has been added to the cart very shortly after product 1, the cart will be abandoned 15 minutes after product 2 has been added to the cart.
- Considering the whole order, he cart will be abandoned 15 minutes after product 2 has been added to the cart.
You can define for each cross-selling profile using an event as the base product if the target products should be displayed when that event is bought inside a season ticket.
...