Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Location
    USA
    Posts
    31
    Plugin Contributions
    0

    red flag Redeem Gift Certificate - Go back to payment page

    Hi,

    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.

    In includes/modules/order_total/ot_gv.php

    After This line (approx 197) :
    PHP Code:
    $messageStack->add_session('redemptions',ERROR_REDEEMED_AMOUNT$currencies->format($gv_amount), 'success' ); 
    add this directly below it:

    PHP Code:
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT)); 
    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.

    I would really like to add a redeem button after the redemption code. I tried doing this, but it still runs the javascript asking me to select a payment method.

    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.

    Thank you!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: Redeem Gift Certificate - Go back to payment page

    What version of Zen Cart is installed?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2007
    Location
    USA
    Posts
    31
    Plugin Contributions
    0

    Default Re: Redeem Gift Certificate - Go back to payment page

    Quote Originally Posted by Kim View Post
    What version of Zen Cart is installed?
    1.3.7.1 I will upgrade to 1.4 when it comes out.

  4. #4
    Join Date
    Apr 2007
    Location
    California, USA
    Posts
    236
    Plugin Contributions
    0

    Default Re: Redeem Gift Certificate - Go back to payment page

    Did you find a way to have a redeem button for the gift certificate? This would really help as I had the same problem as they received a printable gift certificate and didn't have the easy email link to redeem before checkout.

    But I will try your fix above an let you know.
    Thanks
    Supersnow

  5. #5
    Join Date
    Apr 2007
    Location
    California, USA
    Posts
    236
    Plugin Contributions
    0

    Default Re: Redeem Gift Certificate - Go back to payment page

    Actually another great idea would be to have a redeem gift certificate area within the customer's account area where they can redeem gift certificates before they start the shopping/checkout process. Then once they are in the checkout all they have to do is choose if they want to apply the gift certifcate.

    Any ideas on this?
    Thanks
    Supersnow

 

 

Similar Threads

  1. coupon for free gift with gift certificate purchase?
    By tkepler in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 1
    Last Post: 24 Jul 2008, 03:31 PM
  2. Gift certificate and tax
    By dealbyethan.com in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 4
    Last Post: 30 Dec 2007, 06:14 PM
  3. Edit Bug on the Send Gift Certificate Confirmation page using CSS buttons
    By Uncle Bob in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 32
    Last Post: 8 Nov 2006, 05:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •