Hello,
A client has entered a cart rule coupon (prestashop core coupon system) and a AWO coupon, and both were applied. How can I avoid cumulative coupons ?
Anne
A client has entered a cart rule coupon (prestashop core coupon system) and a AWO coupon, and both were applied. How can I avoid cumulative coupons ?
Anne
<?php
public function getCartRules($filter = CartRule::FILTER_ACTION_ALL) {
if (!$this->id) return array();
$discounts = parent::getCartRules($filter);
?>
<?php
if(!empty($discounts)) return $discounts;
?>