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 / Setting Up Categories, Products, Attributes / Attributes field not showing correctly in New install with

Attributes field not showing correctly in New install with

Locked

Started by roshlin on 1 Feb 2009, 12:19 AM · Views: 1,093

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Feb 2009, 12:19 AM
#1
roshlin avatar

roshlin

New Zenner

Join Date:
Jan 2007
Posts:
14
Plugin Contributions:
0

Attributes field not showing correctly in New install with

Hi friends, :smile:

just made a fresh install and added the spanish laguage pack.
Everything seems to be working fine except products with attributes. instead of getting the options Red, orange and yellow I get the following :
RedATTRIBUTES_PRICE_DELIMITER_PREFIX+€75.00ATTRIBUTES_PRICE_DELIMITER_SUFFIX
OrangeATTRIBUTES_PRICE_DELIMITER_PREFIX+€37.50ATTRIBUTES_PRICE_DELIMITER_SUFFIX
YellowATTRIBUTES_PRICE_DELIMITER_PREFIX+€56.25ATTRIBUTES_PRICE_DELIMITER_SUFFIX

The prolem is the same with the dropdowns also, hence spoiling the whole page, please help me correct this problem.
:( In english it works fine.

Thanks

1 Feb 2009, 11:45 AM
#2
roshlin avatar

roshlin

New Zenner

Join Date:
Jan 2007
Posts:
14
Plugin Contributions:
0

Re: Attributes field not showing correctly in New install with

OK, I solved it, the spanish translation is for version 1.3.6

so you have to add the below lines at the end of the /includes/languages/spanish/product_info.php file,

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