Improved query in AbandonedCarts::getAbandonedOrders() method

Created on 18 October 2024, 3 months ago

Problem/Motivation

Created from a comment ✨ Use queue for sending emails Needs review and should cover points 3,4.
The goal of this issue is:

  • In getAbandonedOrders() use "o.type <> recurring" to detect commerce_recurring, so we don't need to join the commerce_order_item table
  • In getAbandonedOrders() to determine if an order is still a cart, it is better to use "o.cart = 1"(it's more commerce 2.x way) instead of condition('o.state ', 'draft')
πŸ“Œ Task
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine marchuk.vitaliy Rivne, UA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024