Skip to content

Commit f9fd5e5

Browse files
committed
updated readme
1 parent 91a309a commit f9fd5e5

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Queue/Processor/AbandonedCartProcessor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ public function process()
9090
protected function _processAbandoned($storeId)
9191
{
9292
$this->firstdate = $this->helperData->getConfig(Data::MODULE_FIRST_DATE, $storeId);
93+
if (!$this->firstdate) {
94+
$this->firstdate = $this->_getSuggestedZeroDate();
95+
}
9396
$this->customergroups = $this->helperData->getConfig(Data::MODULE_ABANDONED_CUSTOMER_GROUP, $storeId);
9497
$token = $this->helperData->getConfig(Data::MODULE_ABANDONEDCART_TOKEN, $storeId);
9598

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112

113113
Require setup and config RabbitMQ for Magento 2 [RabbitMQ Configrable Guide](https://blog.landofcoder.com/how-to-set-up-and-configure-rabbitmq-with-magento-2/)
114114

115+
115116
The module support there consummers:
116117

117118
```
@@ -121,6 +122,10 @@ mautic_review_save
121122
mautic_subscriber_save
122123
```
123124

125+
- Abandoned Cart Tags:
126+
![Abandoned Cart Tags Settings](./assets/12_abandoned_cart.png)
127+
the feature will run on each 5 minutes (cron job) find abandoned cart on reports which have last updated date <= Diff date number, and match customer groups (option), and updated date greater than first date (option). If found abandoned cart, it will add mautic contact with tag: AbandonedCart
128+
124129
## Compatible Modules
125130

126131
- [Magento 2 GDPR Compatible](https://github.com/landofcoder/module-magento2-mautic-gdpr)

assets/12_abandoned_cart.png

60.8 KB
Loading

0 commit comments

Comments
 (0)