When a customer enters a gift certificate on the checkout payment page, it goes to the confirm page and does not apply the gift certificate.
I might have a solution to this.
After This line (approx 197) :
add this directly below it:PHP Code:
$messageStack->add_session('redemptions',ERROR_REDEEMED_AMOUNT. $currencies->format($gv_amount), 'success' );
This will take them back to the payment page if a gift voucher has been succesfully been redeemed. This allows them to apply it to their order.PHP Code:
Is this an ok solution? What are the drawbacks to this? Maybe the zen cart developers have some thoughts. I'm sure it was created the other way for a reason.