Skip to content

Commit

Permalink
Show the monkey in the order grid when comes from a campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed May 2, 2017
1 parent 30c87ed commit f74e3ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Ui/Component/Listing/Column/Monkey.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ public function prepareDataSource(array $dataSource)

$order = $this->_orderRepository->get($item["entity_id"]);
$status = $order->getData("mailchimp_abandonedcart_flag");
if ($order->getMailchimpCampaignId() || $order->getMailchimpLandingPage() ) {
$status = 1;
}
$fieldName = $this->getData('name');

switch ($status) {
Expand Down

0 comments on commit f74e3ae

Please sign in to comment.