Forums / Setting Up Categories, Products, Attributes / Where to get rid of parentheses in attribute prices?

Where to get rid of parentheses in attribute prices?

Started by maryx on 21 Jun 2011, 9:12 PM · Views: 946

Results 1 to 2 of 2
21 Jun 2011, 9:12 PM
#1
maryx avatar

maryx

New Zenner

Join Date:
Jun 2011
Posts:
22
Plugin Contributions:
0

Where to get rid of parentheses in attribute prices?

The prices per unit show up with annoying, useless parentheses on the product page, for example

price for 3 months ( +$240.00 )

Are the parentheses necessary? How can I get rid of them?

Thanks!

22 Jun 2011, 5:05 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Where to get rid of parentheses in attribute prices?

If you look in your languages files you will see the:

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

Using your templates and overrides, you can change these ...

To find the files that use these constants, go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
ATTRIBUTES_PRICE_DELIMITER_PREFIX

select Catalog ... and Click the SEARCH ...

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!