Site maintenance: Sun 15 Nov, from 12: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 / General Questions / Gift Certificate Attributes

Gift Certificate Attributes

Locked

Started by prodesk on 19 Dec 2006, 4:25 AM · Views: 4,642

Results 21 to 30 of 30
This thread is locked. New replies are disabled.
10 Feb 2009, 7:36 PM
#21
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Gift Certificate Attributes

I've searched and found 5 files:

/includes/languages/english/document_general_info.php

/includes/languages/english/document_product_info.php

/includes/languages/english/product_free_shipping_info.php

/includes/languages/english/product_music_info.php

/includes/modules/attributes.php

Do you think if I replaced these with the original, 1.3.8 install files then it might cure the problem or at least eliminate the culprit file?

10 Feb 2009, 7:39 PM
#22
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Gift Certificate Attributes

Or is the problem more deep rooted than that, like perhaps one of the files is missing a DEFINE and will therefore not show up in a search because somehow the ATTRIBUTES_PRICE_DELIMITER_PREFIX line is missing from the file completely?

10 Feb 2009, 7:43 PM
#23
ajeh avatar

ajeh

Oba-san

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

Re: Gift Certificate Attributes

That or you have a bad file altogether for the language file and need to reload it ...

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!

10 Feb 2009, 7:59 PM
#24
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Gift Certificate Attributes

you mean english.php???

10 Feb 2009, 8:15 PM
#26
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Gift Certificate Attributes

OK, adding:

define('ATTRIBUTES_PRICE_DELIMITER_PREFIX', ' ( ');
define('ATTRIBUTES_PRICE_DELIMITER_SUFFIX', ' )');
define('ATTRIBUTES_WEIGHT_DELIMITER_PREFIX', ' (');
define('ATTRIBUTES_WEIGHT_DELIMITER_SUFFIX', ') ');

to product_info.php has gotten rid of the ATTRIBUTES_PRICE_DELIMITER_PREFIX lines in the classic template but still, can't get the add to cart or the drop down to appear in the new template override I'm using... I wonder what can be wrong?!?

10 Feb 2009, 8:31 PM
#27
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Gift Certificate Attributes

To hell with it! 2 days I've been trying to fix it, just have to forget about gift certificates ....... category deleted, problem solved!!

10 Feb 2009, 9:28 PM
#28
ajeh avatar

ajeh

Oba-san

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

Re: Gift Certificate Attributes

Using something like Beyond Compare from scootersoftware.com might help you discover what is broken with the template ...

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!

11 Feb 2009, 10:18 AM
#29
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Gift Certificate Attributes

If my classic template works but the new one doesn't then is it definitely a language file?

If it's definitely a language file then perhaps just overwriting the language files with the original files would be the answer?

11 Feb 2009, 5:29 PM
#30
ajeh avatar

ajeh

Oba-san

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

Re: Gift Certificate Attributes

Then it is one of the language files or template files in your overrides ...

Removing or fixing the file should fix the problem ...

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!