How can I remove the parenthese that encases the option price?
I want the value to display without the parenthese and be in bold.
Now it is (+$5.00)
I want it to be $5.00
And bold.
Thanks.
How can I remove the parenthese that encases the option price?
I want the value to display without the parenthese and be in bold.
Now it is (+$5.00)
I want it to be $5.00
And bold.
Thanks.
You would need to customize the:
/includes/modules/attributes.php
Copy that to your templates and overrides directory:
/includes/modules/your_template_dir/attributes.php
Search for:
NOTE: the space in there ...' (
And there are at least 2 lines to edit to remove the parens from the price ...
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!
I came around to how to do this the long way, not having found this post first despite many searches. Oh well...
The exact code changes are listed for copy/pasting about removing parentheses and bolding:
http://www.zen-cart.com/forum/showth...028#post416028
How would one cause the price it shows in the parentheses to be the total of the base price plus the additional price for that option? So if the base price for an item is $4.00 and one option shows:
4 oz (+$3.00)
It would show
4 oz ($7.00)
I have searched and searched and have not found an answer.
Usually the way to do that is to use the Product as:
Product Price 0.00
Priced by Attribute YES
and put the whole price in the Attribute ... but leave the prefix blank ...
However, when you need to change the price of the base by 10.00 and have 15 colors you would need to edit them one by one ...
There isn't enough info here to know what would work best for you but perhaps this will lead you to a solution ...![]()
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!