Forums / Setting Up Categories, Products, Attributes / Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

Locked

Views: 829

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Nov 2010, 11:39 PM
#1
discountmercantile avatar

discountmercantile

New Zenner

Join Date:
Apr 2009
Location:
Arizona
Posts:
4
Plugin Contributions:
0

Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

I've searched but can't find this particular issue answered already

Here is my version and module info that was installed by my hosting company. I added the Rustic Template and a few modules as seen in the picture and discussed below.

The problem is that I followed the How To for adding Size Attributes and the preview appears correct as seen here:

But when I view the product that I added it to it appears like this:

Here is a link to the product that I edited so far LINK

I'm wondering if it is a module that I added that is messing with the dropdown display?? I did add a Google Base Feeder and an eBay Exporter a year ago and can't remember how to uninstall them. I use Image Handler and Easy Populate and hope that it isn't related to those. I've had the site over a year now and this wasn't an issue until now because I used to list each size as a separate item. Now I started fresh with 1 listing for each item and want to add the attributes for the sizes. That gives me a few hundred products to manage instead of 2,300!

Thanks for any suggestions.

23 Nov 2010, 12:00 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

When you see UPPER_CASE-CONSTANTS appearing in the browser, it means that the code cannot find the associates text "string" that defines the constant.

These "defines" are usually in LANGUAGE files, such as "english.php"

and they look like this:

define('PREV_NEXT_PRODUCT', 'Product ');

There are literally HUNDREDS of them in zencart, and the constants that are appearing in your page are in:

includes/languages/english/product_info.php ...

(You may find that file - product_info.php - is missing all-together. In which case, you need to FTP another copy of it to its correct location.)

Anyway, the defines you need are (in a core version):-

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

20 years a Zencart User

23 Nov 2010, 12:13 AM
#3
discountmercantile avatar

discountmercantile

New Zenner

Join Date:
Apr 2009
Location:
Arizona
Posts:
4
Plugin Contributions:
0

Re: Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

The link in the first post was incorrect it should be LINK

23 Nov 2010, 12:19 AM
#4
discountmercantile avatar

discountmercantile

New Zenner

Join Date:
Apr 2009
Location:
Arizona
Posts:
4
Plugin Contributions:
0

Re: Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

The file includes/languages/english/product_info.php is indeed missing. I'll try to find it in my html backup and ftp back. If not I'll unzip a package to get the file and replace it.

I'll follow up in a few minutes. Thanks for the clue :cool:

23 Nov 2010, 12:31 AM
#5
discountmercantile avatar

discountmercantile

New Zenner

Join Date:
Apr 2009
Location:
Arizona
Posts:
4
Plugin Contributions:
0

Re: Size Attribute Dropdown displays "ATTRIBUTES_PRICE_DELIMITER_SUFFIX"

Replaced the missing file, reloaded the page, and all is displaying correctly! Thanks again for your help. Your time is greatly appreciated!! :smile: