Mal's Gift Vouchers
Mals is using a couple of new variables (giftvcode and giftvamount) to capture the voucher details.
To ensure that the vouchers are working properly you will need to add the following code:
// GIFT VOUCHERS START
if ($giftvamount > 0 AND $vval <= 0)
$vval = $giftvamount;
if (!empty($giftvcode) AND empty($voucher))
$voucher = $giftvcode;
// GIFT VOUCHERS END
to the finish.php file in the /go/ folder, just below the line:
$message = addslash_mq($message);
It is important to note, the new variables are only appearing when the remote call is used:
Mals -> Cart setup -> Advanced settings -> Remote call
It does not seem to pick that information up if your client uses the return.php page (with POST method) in the return link in Mals:
Mals -> Cart setup -> Customize -> Return link
so you'll want to remove the return.php page from the return link, and only use the remote call.