Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TEXT_ENTER_GV_CODE


Recommended Posts

This is the only thing left for me to work out after installing the CCGV contribution. It appears on Payment Information page where the customer is checking out and it redeem their coupon. Instead of saying "Enter Redeem Code" like it's suppose to, it says "TEXT_ENTER_GV_CODE".

 

I've tried editing the ..\catalog\includes\languages\english\modules\order_total\ot_gv.php file but nothing happens. Nothing changes.

 

Can you please help me fix this?

 

I've searched all over the forums for the past two hours and tried everything I found. I must be missing something!

Link to comment
Share on other sites

This is the only thing left for me to work out after installing the CCGV contribution. It appears on Payment Information page where the customer is checking out and it redeem their coupon. Instead of saying "Enter Redeem Code" like it's suppose to, it says "TEXT_ENTER_GV_CODE".

 

I've tried editing the ..\catalog\includes\languages\english\modules\order_total\ot_gv.php file but nothing happens. Nothing changes.

 

Can you please help me fix this?

 

I've searched all over the forums for the past two hours and tried everything I found. I must be missing something!

 

Well, you are looking in the correct location there is no other strange voodoo that happens concerning language files. You might double check that you did not inadvertently enter a typo in the language file i.e TEXT_ENTER_GVCODE or something like that. Beyond that, as with any contribution issues I always retrace all the steps and make sure nothing was missed along the way.

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

I've checked the language file and all seems fine. I've even tried playing around with the wording from the default to custom working and nothing chages.

 

Here is my file:

 

<?php
/*
 $Id: ot_gv.php,v 1.2.2.4 2003/05/14 22:52:59 wilt Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

 define('MODULE_ORDER_TOTAL_GV_TITLE', 'Gift Vouchers');
 define('MODULE_ORDER_TOTAL_GV_HEADER', 'Gift Vouchers/Discount Coupons');
 define('MODULE_ORDER_TOTAL_GV_DESCRIPTION', 'Gift Vouchers');
 define('SHIPPING_NOT_INCLUDED', ' [Shipping not included]');
 define('TAX_NOT_INCLUDED', ' [Tax not included]');
 define('MODULE_ORDER_TOTAL_GV_USER_PROMPT', 'Tick to use Gift Voucher account balance -> ');
 define('TEXT_ENTER_GV_CODE', 'Enter Coupon Code Here');

// Added by Rigadin in v5.13 to show module errors on checkout_payment page
 define('MODULE_ORDER_TOTAL_GV_TEXT_ERROR', 'Gift Voucher/Discount coupon');
?>

 

Can anyone see what's wrong with it?

Link to comment
Share on other sites

By the way , this is the original file that came with the contribution, I uploaded the whole thing "as is" instead of editing. The only thing I changed afterwards was the 'Enter Coupon Code Here' to see if that made a difference and corrected the problem that existed with the original file, and it did not. I've even tried re-uploading it several times and no change.

Edited by catscreations
Link to comment
Share on other sites

By the way , this is the original file that came with the contribution, I uploaded the whole thing "as is" instead of editing. The only thing I changed afterwards was the 'Enter Coupon Code Here' to see if that made a difference and corrected the problem that existed with the original file, and it did not. I've even tried re-uploading it several times and no change.

 

It's not any language file...the code comes from incorrect code in the catalog\includes\modules\order_total\ot_coupon.php

 

 

Current 'incorrect' code from 5.15a1

$selection_string .= TEXT_ENTER_GV_CODE . tep_draw_input_field('gv_redeem_code') . ' and click ';

should be

$selection_string .= TEXT_ENTER_COUPON_CODE . tep_draw_input_field('gv_redeem_code') . ' and click ';

But it appears a lot of this code is no good. When i test, the first time I redeem a coupon it gives me:

Congratulations, you have redeemed <BR>***HOWEVER:No reducion available, please see the coupon restrictions***

which comes from the ERROR_REDEEMED_AMOUNT_ZERO. But, it does actually take the correct coupon amount out. Then, if you redeem the same coupon again, it says:

Congratulations, you have redeemed $1.00
but I am using % coupon and this number is incorrect. When the 1st redeem is taken, the correct is percentage is taken off (i am inlcuding the % taken off shipping). When the 2nd redeem is taken, the percentage doesn't include shipping.
Link to comment
Share on other sites

Chrispag,

I assume when you say:

I am getting the same exact thing you are. I would like to know how to get it fixed.

you are referring to:

When i test, the first time I redeem a coupon it gives me:

Congratulations, you have redeemed <BR>***HOWEVER:No reducion available, please see the coupon restrictions***

which comes from the ERROR_REDEEMED_AMOUNT_ZERO. But, it does actually take the correct coupon amount out. Then, if you redeem the same coupon again, it says:

but I am using % coupon and this number is incorrect. When the 1st redeem is taken, the correct is percentage is taken off (i am inlcuding the % taken off shipping). When the 2nd redeem is taken, the percentage doesn't include shipping.

Haven't found a solution yet and a number of people have reported the same bug. You can see the latest comments at: CCVG Support thread
Link to comment
Share on other sites

  • 2 years later...
Chrispag,

I assume when you say:

 

you are referring to:Haven't found a solution yet and a number of people have reported the same bug. You can see the latest comments at: CCVG Support thread

 

I'm having a similar problem though less widespread. Orders with a California address aren't allowed to redeem any coupons and are given the error code you also received: "The coupon has been successfully applied for <BR>***HOWEVER:No reducion available, please see the coupon restrictions***“

 

I can't seem to find any options limiting the coupon to a specific state or set of states. Does anyone have any idea why this might be happening?

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...