Hi,
This is a simple guide that you can use to convert your Call for Price
"boxed" link into a Call for Price XHTML button:
1. First define a name for your button. Open the stylesheet_css_buttons.css
file which you will find in includes/templates/myTemplate/css/
and add a name for your button:
For example, let's assume that you want to name your button call_for_price
so at approx. line 50 add the following statement (I have highlighted it in bold):
.button_call_for_price, .button_write_review, .button_TellAFriend,
.button_back, .button_checkout, .button_continue_shopping,
.button_change_address, .button_logoff { display: block; }
2. Open english.php which you will find at includes/languages/myTemplate/english.php
and then go to approx. line 452 and change the code
define('TEXT_CALL_FOR_PRICE','Call for price');
to (make sure that the code is placed all on the same line)
define('TEXT_CALL_FOR_PRICE','<span class="cssButton button_ask_for_quote"
onmouseover="this.className=\'cssButtonHover button_ask_for_quote
button_ask_for_quote\'" onmouseout="this.className=\'cssButton
button_ask_for_quote\'" style="width: 84px;" > Call for
Price </span>');
These 2 steps will ensure that the "Call for Price" (if you want to use a different text just change the text "Call for Price" to something you like e.g. "Ask for Quote") button that is created will follow the same style as the other buttons on your web site (assuming that you have enabled stylesheet buttons (instead of using picture buttons).
I hope that you will find this guideline useful
Hansi



