Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Changing the word "Redemption Code" for Gift Certificates, but not Coupons

Changing the word "Redemption Code" for Gift Certificates, but not Coupons

Started by shanghailad on 30 Nov 2012, 9:29 AM · Views: 1,154

Results 1 to 2 of 2
30 Nov 2012, 9:29 AM
#1
shanghailad avatar

shanghailad

New Zenner

Join Date:
Sep 2012
Posts:
10
Plugin Contributions:
0

Changing the word "Redemption Code" for Gift Certificates, but not Coupons

Hi,

We're currently using both coupons and gift certificates in our store.

However, some customers are getting confused as to where they should input their code because both the coupon and gift certificate input fields are labelled "Redemption Code".

I've found the language area that controls this label here: includes/languages/english.php

However, the label for both input fields are controlled by the same language file:

// used for redeem code, redemption code, or redemption id
define('TEXT_GV_REDEEM','Redemption Code');

Is there a simple way to separate these? I'd like the Coupon area to still be referred to as a Redemption Code, and the Gift Certificate area to be referred to as a Gift Card Code.

Thanks again for your help,
Aaron

30 Nov 2012, 8:17 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Changing the word "Redemption Code" for Gift Certificates, but not Coupons

If you were to check in the Tools ... Developers Tool Kit ... and enter in the bottom input box:
TEXT_GV_REDEEM

and select Catalog ... and click Search ... you will see everywhere that is used ...

If you just want to change it for the ot_gv ... you could edit the language file for that Order Total module ...

  define('MODULE_ORDER_TOTAL_GV_TEXT_ENTER_CODE', TEXT_GV_REDEEM);

and change what is being used in the define ...

  define('MODULE_ORDER_TOTAL_GV_TEXT_ENTER_CODE', 'Fred was here!');

and now you are just changing that one thing ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!