Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / How do customers retrieve gift certificates?

How do customers retrieve gift certificates?

Views: 2,486

Results 1 to 6 of 6
10 Jan 2011, 6:55 PM
#1
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

How do customers retrieve gift certificates?

I've set up Gift Certificates according to your instructions. And I am able to purchase one (as a customer) , then release it (as an admin). Upon release, I (the customer) get the following email:

You recently purchased a Gift Certificate from our online store.
http://quinceandco.com/store/

For security reasons this was not made immediately available to you.
However, this amount has now been released. You may now visit our store and
send the value of the Gift Certificate via email to someone else, or use it
yourself.

The Gift Certificate(s) you purchased are worth $25.00

Thank you for shopping with us!
Quince & Co.

http://quinceandco.com/store/

=========

Great so far, but when I go back to the store and login (as a customer), I can't find the gift certificate. I've check the "account" page, that that doesn't have any links to view gift certificates. Where else should I be looking?

John

10 Jan 2011, 8:13 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do customers retrieve gift certificates?

You should be able to see the GV Balance on the GV FAQ ... The My Account and in the Shopping Cart Sidebox ... then, in the checkout, there is also the Apply box on the checkout_payment for if the Customer wants to use their GV Balance on an order ...

Look in your Zen Cart Admin in the Customers ... Customers ... do you see a Balance on the Customer?

14 Jan 2011, 8:04 PM
#3
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Re: How do customers retrieve gift certificates?

I can see the GV on the admin end -- but the customer who purchased it can't see it.

I'm not the original developer and it appears that the cart templates were highly modified. So when the customer logs in to their account, there is no sidebar and no link to view or retrieve gift vouchers.

Is there a specific link I can add to the customer account template that will allow them to retrieve the GV?

Thanks,

John

14 Jan 2011, 11:14 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do customers retrieve gift certificates?

I do not know what customizations you have to your templates and overrides ... this is built into Zen Cart and you should be able to see it when set to the Classic Template ...

You can see the original code in the:
/includes/templates/template_default/sideboxes/tpl_shopping_cart.php

and in the:
/includes/templates/templates_default/templates/tpl_modules_send_or_spend.php

which is called by:
/includes/templates/templates_default/templates/tpl_gv_faq_default.php

and also called by:
/includes/templates/templates_default/templates/tpl_account_default.php

then there is reference to Gift Certificates on the checkout in the:
/includes/templates/templates_default/templates/tpl_checkout_payment_default.php

when there is a balance in the Customers account and called with the Order Total module for the Gift Certificate ot_gv.php ...

17 Feb 2011, 2:25 PM
#5
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Re: How do customers retrieve gift certificates?

Thanks for the help. The original developer apparently commented out the Gift Certificate coding. I found what he did and the customer can now see their gift certificate balance.

But now I have two new problems:

  1. When redeeming a gift certificate, the customer is forced to enter their credit card number before continuing to see how the certificate affects their order total. Can this be changed?

  2. And even if the customer does enter their CC information and continues, the gift certificate is not applied to their total (although the cart does indicate that the certificate has been redeemed)

I'm using 1.3.9a -- do I need to upgrade to 1.3.9h to fix this?

John

17 Feb 2011, 5:12 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do customers retrieve gift certificates?

You should upgrade to v1.3.9h ...

As to the Gift Certificate redemption, you can try this on the ot_gv.php Gift Certificate module and see if adding a submit button below the redemption box helps ...

      $selection = array('id' => $this->code,
                         'module' => $this->title,
                         'redeem_instructions' => MODULE_ORDER_TOTAL_GV_REDEEM_INSTRUCTIONS,
                         'checkbox' => $this->use_credit_amount(),
                         'fields' => array(array('title' => MODULE_ORDER_TOTAL_GV_TEXT_ENTER_CODE,
//                         'field' => zen_draw_input_field('gv_redeem_code', '', 'id="disc-'.$this->code.'" onkeyup="submitFunction(0,0)"'),
                         'field' => zen_draw_input_field('gv_redeem_code', '', 'id="disc-'.$this->code.'" onkeyup="submitFunction(0,0)"') . '<br>' . zen_image_submit(BUTTON_IMAGE_REDEEM, BUTTON_REDEEM_ALT, 'onClick="submitFunction('.zen_user_has_gv_account($_SESSION['customer_id']).','.$order->info['total'].')"'),
//                       'field' => zen_draw_input_field('gv_redeem_code') . '<br>' . zen_image_submit(BUTTON_IMAGE_REDEEM, BUTTON_REDEEM_ALT, 'onClick="submitFunction('.zen_user_has_gv_account($_SESSION['customer_id']).','.$order->info['total'].')"'))));
                         'tag' => 'disc-'.$this->code
                         )));