Magento – Works Ahead FollowUpEmail not work

Picture

We had the problem with this great Extension, that actually everything worked. Rules could be established, Test emails worked perfectly etc. pp.

ONLY Sorry, no e-mails in the Mail Queue / Log pushed, when actually should apply the rule.

The problem was, that AheadWorks Follow up eMail (3.5.0) Extension a conflict with the MageWorx Extended Orders Pro Extension hatte. This was prevented, that by the CRON Job new messages have been generated. The solution was the cron.php in the directory app / code / local / AW / Followupemail / Model fit.

From line 210

            if ($cargoes) {
                $statusHistoryCollection->addAttributeToFilter('entity_id', array('gt' => $cargoes));
            } else {
                $statusHistoryCollection->addAttributeToFilter('created_at', array('gt' => $this->_lastExecTimeMySQL));
            }

by replacing

            if ($cargoes) {
                $statusHistoryCollection->addAttributeToFilter('main_table.entity_id', array('gt' => $cargoes));
            } else {
                $statusHistoryCollection->addAttributeToFilter('main_table.created_at', array('gt' => $this->_lastExecTimeMySQL));
            }

 

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *