Zen Cart Logo
Forums / General Questions / Gift Certificate Attributes

Gift Certificate Attributes

Locked

Views: 4,622

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 ...

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:06 PM
#25
limelites avatar

limelites

Totally Zenned

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

Re: Gift Certificate Attributes

Just seen this thread:

http://www.zen-cart.com/forum/showthread.php?t=82692

Hopefully this will be the answer.,.... I'm going to try and will let you know....

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 ...

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 ...