Skip to content

Commit

Permalink
Delete alert message displayed in Hiboutik if the sale was created in…
Browse files Browse the repository at this point in the history
… Prestashop
  • Loading branch information
hiboutik committed Feb 1, 2019
1 parent ab61ba5 commit 0f85689
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controllers/front/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public function postProcess()
$sale_no = substr($_POST['sale_ext_ref'], strlen($config['HIBOUTIK_SALE_ID_PREFIX']));
$order = new Order($sale_no);
if ($order->current_state !== null) {
$json_msg->alert('warning', 'Sale created in Prestashop. Exiting.')->show();
exit();
}
}
Expand Down

0 comments on commit 0f85689

Please sign in to comment.