Chris Newton - 14 September 2010 03:57 AM
Whoops. Forgot a parentheses. Take a look at the corrected version below. (corrected the version above too… in case anyone else tries to use it)
<?php
if (!empty($_SESSION['cartthrob']['coupon_codes']))
{
foreach($_SESSION['cartthrob']['coupon_codes'] as $key=>$item)
{
//this is the coupon code
echo $item;
}
}
?>
From the above, it sounds like you can use multiple coupons if you order multiple items. In my tests, even when I order multiple products, only one coupon is applied.
Can multiple coupons be used on one order?
Thanks.