I found this for vouchers and was wondering if someone got a similar mod working for multiple coupons?
http://forum.opencart.com/viewtopic.php?f=23&t=59161
From what I can understand, the voucher is "replaced" with the last entered voucher, but I want an function to be able to enter multiple coupons one the same order.
It this possible?
I have tried to adapt the voucher code, but get an error:
Code: Select all
Warning: array_unique() expects parameter 1 to be array, string given in /var/www/vhosts/xxxxxx/catalog/model/total/coupon.php on line 12Warning: Invalid argument supplied for foreach() in /var/www/vhosts/xxxxxx/catalog/model/total/coupon.php on line 12