You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AbandonedCart/Model/AbandonedCartSendData.php
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -229,9 +229,9 @@ public function sendAbandonedCartData($quoteId = null): array
229
229
['lt' => new \Zend_Db_Expr('main_table.updated_at')],
230
230
['null' => true]
231
231
])
232
-
->addFieldToFilter('main_table.updated_at',
233
-
['eq' => new \Zend_Db_Expr('IF( ac_synced_date is not null or main_table.updated_at < DATE_SUB(NOW(), INTERVAL '.$minInactiveTime.' minute), main_table.updated_at,-1)')]
234
-
)
232
+
// ->addFieldToFilter('main_table.updated_at',
233
+
// ['eq' => new \Zend_Db_Expr('IF( ac_synced_date is not null or main_table.updated_at < DATE_SUB(NOW(), INTERVAL '.$minInactiveTime.' minute), main_table.updated_at,-1)')]
234
+
// )
235
235
->addFieldToFilter(
236
236
'is_active',
237
237
'1'
@@ -372,6 +372,13 @@ private function getQuoteItemsData($entityId, $storeId): array
0 commit comments