Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    210
    Plugin Contributions
    0

    Default Can I change the path of the "Call for Price" Link instead of going to contact us?

    I'm looking to change the link path for the "call for price" link. The link is on the product listing pages and the product info page. Anyone know which file I can modify?

  2. #2
    Join Date
    Mar 2008
    Posts
    210
    Plugin Contributions
    0

    Default Re: Can I change the path of the "Call for Price" Link instead of going to contact us

    Not to be a pain, but anyone have any thoughts? I figured it could be an easy edit. Maybe it is more complicated than I thought.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    4,990
    Plugin Contributions
    6

    Default Re: Can I change the path of the "Call for Price" Link instead of going to contact us

    Depending on templates, customizations, mods, etc; it could be one of many things.

    With a link, you'd get more help.

    Take a look at the items listed above where you start a new thread. Those items will always speed up assistance.
    Did you read the posting tips?!?
    Things We've Done
    MOD: Scheduled Events

  4. #4
    Join Date
    Mar 2008
    Posts
    210
    Plugin Contributions
    0

    Default Re: Can I change the path of the "Call for Price" Link instead of going to contact us

    Thanks for that follow up! So Let me try again with an added link. The link to my site that displays the link I'm trying to change is:

    http://www.stevekwebdesign.com/index...index&cPath=73

    Right now I'm using "text" instead of an image for the "call for price" and I would like to change the link path for "call for price" that is listed under the "text" and the "...more info" link

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    4,990
    Plugin Contributions
    6

    Default Re: Can I change the path of the "Call for Price" Link instead of going to contact us

    Use the developers tool kit in the tools menu of the admin to search for "productListing-data." That should get you started on the road to finding the file you need to work with.

    Like the design but make sure the sidebox hovers work for color-blind folks. #b09951 and #533b16 aren't really friendly web colors. JM2c
    Did you read the posting tips?!?
    Things We've Done
    MOD: Scheduled Events

  6. #6
    Join Date
    Mar 2008
    Posts
    210
    Plugin Contributions
    0

    Default Re: Can I change the path of the "Call for Price" Link instead of going to contact us

    Thanks for your help, that was the first time I saw you can search for files like that in your admin!!

    I was able to change this link by going into my:
    includes/functions/functions_general.php

    and I edited:

    (line 1140)
    // cannot be added to the cart
    case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
    return $additional_link;
    break;
    case ($button_check->fields['product_is_call'] == '1'):
    $return_button = '<a href="YOUR LINK">' . TEXT_CALL_FOR_PRICE . '</a>';
    break;
    case ($button_check->fields['products_quantity'] <= 0 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1'):
    if ($_GET['main_page'] == zen_get_info_page($product_id)) {
    $return_button = zen_image_button(BUTTON_IMAGE_SOLD_OUT, BUTTON_SOLD_OUT_ALT);
    } else {
    $return_button = zen_image_button(BUTTON_IMAGE_SOLD_OUT_SMALL, BUTTON_SOLD_OUT_SMALL_ALT);
    }
    break;
    default:
    $return_button = $link;
    break;

    Hope this helps others...

 

 

Similar Threads

  1. Can't change the "price" and "Item Name" Link
    By thricelll in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Feb 2011, 08:16 AM
  2. How to add link to "call to price" images?
    By rainmist in forum General Questions
    Replies: 3
    Last Post: 17 Jun 2008, 07:05 PM
  3. When a specific Attribute is used - change price to "call for price"?
    By PaulRiedel in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 4 Nov 2007, 02:34 PM

Bookmarks

Posting Permissions

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