Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Managing Customers and Orders / Not showing coupon module

Not showing coupon module

Locked

Started by razbregrll on 31 Mar 2009, 8:20 PM · Views: 1,219

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
31 Mar 2009, 8:20 PM
#1
razbregrll avatar

razbregrll

New Zenner

Join Date:
Mar 2009
Posts:
3
Plugin Contributions:
0

Not showing coupon module

I'm seeing all this junk and I don;t know where or how to fix it? Can anyone please help!

Your Total
$168.00
MODULE_ORDER_TOTAL_SUBTOTAL_TITLE:

$0.00
MODULE_ORDER_TOTAL_SHIPPING_TITLE:

-$20.00
MODULE_ORDER_TOTAL_COUPON_TITLE: save20 :

$148.00
MODULE_ORDER_TOTAL_TOTAL_TITLE:

MODULE_ORDER_TOTAL_COUPON_TITLE MODULE_ORDER_TOTAL_COUPON_REDEEM_INSTRUCTIONSMODULE_ORDER_TOTAL_COUPON_REMOVE_INSTRUCTIONS
MODULE_ORDER_TOTAL_COUPON_TEXT_CURRENT_CODEsave20
MODULE_ORDER_TOTAL_COUPON_TEXT_ENTER_CODE

1 Apr 2009, 5:14 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Not showing coupon module

razbregrll:

I'm seeing all this junk and I don;t know where or how to fix it? Can anyone please help!

Your Total
$168.00
MODULE_ORDER_TOTAL_SUBTOTAL_TITLE:

$0.00
MODULE_ORDER_TOTAL_SHIPPING_TITLE:

-$20.00
MODULE_ORDER_TOTAL_COUPON_TITLE: save20 :

$148.00
MODULE_ORDER_TOTAL_TOTAL_TITLE:

MODULE_ORDER_TOTAL_COUPON_TITLE MODULE_ORDER_TOTAL_COUPON_REDEEM_INSTRUCTIONSMODULE_ORDER_TOTAL_COUPON_REMOVE_INSTRUCTIONS
MODULE_ORDER_TOTAL_COUPON_TEXT_CURRENT_CODEsave20
MODULE_ORDER_TOTAL_COUPON_TEXT_ENTER_CODE

Ra,
admin panel/ tools/ developers tools kit

  1. search for:
  2. MODULE_ORDER_TOTAL_SUBTOTAL_TITLE
  3. catalog
  4. search
  5. You either have a corrupt file or you have edited this file

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

1 Apr 2009, 7:26 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Not showing coupon module

These UPPER_CASE bits of text are CONSTANTS, and indicate that the definitions for the constants cannot be found.

A define statement looks like this:

define('MODULE_ORDER_TOTAL_TOTAL_TITLE', 'Total');

... and these are generally located in the LANGUAGE php files.

When your program cannot find the associated language file for a constant, it will normally return the constant itself - which seems to be happening in your case.

So the likely cause is a MISSING or CORRUPTED language file, and I would suggest you look in:

includes/languages/english/modules/order_total/ot_total.php

... for starters.

Either the define line for those constants is corrupted (due to a bad edit) or the file itself is missing or corrupted.

You can easily fix it by FTP a fresh file from your local copy of zc software to the corresponding location on your server.

Naturally, you may have a custom folder set up, so that's where you need to look as well.

20 years a Zencart User