Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Aug 2006
    Posts
    67
    Plugin Contributions
    0

    Default Call for Price button

    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;" >&nbsp;Call for

    Price&nbsp;</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
    Last edited by hansi; 9 Oct 2007 at 12:57 PM.

 

 

Similar Threads

  1. Replies: 13
    Last Post: 21 Feb 2013, 03:52 PM
  2. Disable Call for price url below Call for price image?
    By IllusionGuy in forum General Questions
    Replies: 0
    Last Post: 6 Jan 2009, 10:36 PM
  3. Call for Price button
    By crabdance in forum General Questions
    Replies: 0
    Last Post: 27 Nov 2007, 12:35 AM
  4. Call for price button
    By mcpisik in forum General Questions
    Replies: 1
    Last Post: 24 Sep 2007, 05:39 PM
  5. 'Call for price' button doesn't link!
    By meowynic in forum Managing Customers and Orders
    Replies: 0
    Last Post: 11 Nov 2006, 06:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg