Quote Originally Posted by hansi View Post
Hi,

I am not sure if there is an easy way for the first part but here is a simple solution for the second part of your question:

1. Ignore step 1 of my guidelines and open english.php (in includes\languages\myTemplate where myTemplate here should be replaced with your template)

2. In step 2, change the code

define('TEXT_CALL_FOR_PRICE','<span class="cssButton button_call_for_price"

onmouseover="this.className=\'cssButtonHover button_call_for_price\'"
onmouseout="this.className=\'cssButton
button_call_for_price\'" style="width: 84px;" >&nbsp;Call for
Price&nbsp;</span>');

to

//where myTemplate here should be replaced with your template
define('TEXT_CALL_FOR_PRICE','<img src="includes/myTemplate/images/my_call_for_price_image.jpg " />');

I also noticed that you have another image "Ask us about this item". Why do you want to make Call for price image (first part of your question) clickable if you already have a clickable alternative i.e. "Ask us about this item"? I think you perhaps should just use the Call for price image shown next to your product (or change its style) as a label/ tag to indicate to your customer that the product is a call-for-price product.

By the way, you have a very nice astaethically looking template. Did you download and use any Zencart add-ons for it?

Regards,

Hansi
Hansi,

as you can see at:
http://www.time-co.com/zencart/index...products_id=31

your code worked, except I ran into a problem. ..
I did change the boxed text into the button and I even specified the link to my Request the Best Price form (this link however is static and always points to the same product, regardless of the actual product shown). The Request the Best Price form is based on Ask the Question About the product form and requires specified product id to work. I would like the link to work like the one on the Ask Us About this Item but it might not be possible since it is defined in the english.php file.

It is like this:
define('TEXT_CALL_FOR_PRICE','<a href="<A href="http://www.time-co.com/zencart/index.php?main_page=ask_a_question2&products_id=25"><img">http://www.time-co.com/zencart/index.php?main_page=ask_a_question2&products_id=25"><img src="images/button_call_for_price.gif"alt="Request Our Best Price" />');

and it would not work without the product id specified so I replaced the above link with the following:
a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id='
. $_GET['products_id']) . '"

This works fine from the individual product pages but says the the product cannnot be found if clicked from category listing where two products are call for price like on this page:

http://www.time-co.com/zencart/index...=index&cPath=2

Is it possible not to display the individual Call for Price buttons on category pages?

I would appreciate any suggestions if anything comes to your mind...