There is a setting in the Configuration ... Product Info ...
Product Info - Price is Call for Price Image or Text Status
Product Info - Show the Price is Call for Price Image or Text on Displayed Price
0= Text
1= Image
There is a setting in the Configuration ... Product Info ...
Product Info - Price is Call for Price Image or Text Status
Product Info - Show the Price is Call for Price Image or Text on Displayed Price
0= Text
1= Image
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!
That <br /> is added to both the image and the text in the functions file:
/includes/functions/functions_prices.php
You would need to alter the code to change that ...Code:// If Call for Price, Show it if ($product_check->fields['product_is_call']) { if (PRODUCTS_PRICE_IS_CALL_IMAGE_ON=='0') { $call_tag = '<br />' . PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT; } else { $call_tag = '<br />' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_CALL_FOR_PRICE, PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT); } }
NOTE: function files do NOT use override files ...
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!
Okay this leads to the next idea I had to get around it, that would be create a copy of the functions_prices.php code block, renaming the function that calls the price, using that to call the price instead. It's a bit much, but that's all I got. I'm trying really hard to make this a "drag and drop" kind of installation and don't feel its fair to ask anyone using this edit their core files solely to use this template.
Also thanks Ajeh for your help in this.
I am not keen on renaming functions ... especially functions that are used everywhere ...
The change you need is pretty simple ... I'd go for just changing the original file and mark the code that you have changed it ... or, to add the change to your install read me ...
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!