Hi,
I'd like to change the call for prices button on my site, into text only.
Is there a bit of short code that would work easily?
I know the name of the image so can find it's location ok...
Thanks!
Hi,
I'd like to change the call for prices button on my site, into text only.
Is there a bit of short code that would work easily?
I know the name of the image so can find it's location ok...
Thanks!
You could use the handy dandy switch for that 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!
Superb! Thanks.
I new I'd done it a couple of years ago, but was searching the wrong way to go about it this time round (obviously!)
Appreciated.
...on a similar question...
If I wanted that text to show up when "call for prices" is set to off, how could I do that.
I'd like to enable adding to cart, but show "hire price" below the cost...exactly where "call for prices" shows up if switched on.
Any ideas that might help?
( I could just type it in description of product, but it has a gap which makes it separated from price and I'd have to type it for 1000s of products...)
The price display is managed in the functions_prices ...
The Call for Price is handled in:
You could add an ELSE to that IF to display something when it is not Call for Price ...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); } }
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!
Thanks Ajeh,
I'm not sure exactly how to do that sorry.
(I've got the file open of course no problem)
I've done a search around for examples but not sure if it's a quick edit or what to do.
Is it easy to type how it should look for me?
Many thanks
I have not tested this but try:
And on all products that are not Call for Price you should see: Hello WorldCode:// 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); } } else { $call_tag = '<br />' . 'Hello World'; }
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 worked a treat thank you!!!!!!
Thanks for sharing your knowledge :)
You are most welcome ... thanks for the update that this was able to work for you to post text on all products that are not set to Call for 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!