Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    218
    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
    218
    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
    9,108
    Plugin Contributions
    11

    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.

  4. #4
    Join Date
    Mar 2008
    Posts
    218
    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
    9,108
    Plugin Contributions
    11

    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

  6. #6
    Join Date
    Mar 2008
    Posts
    218
    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. remove the border around "call for price" and reposition "ask us" button
    By b90702098 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 May 2012, 10:45 AM
  2. 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
  3. Editing the "tpl_product_info_display.php" to change the "call for Price" message
    By camospi13 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Sep 2010, 05:50 AM
  4. How can I remove the "call for price" text on product listing page?
    By chloe21 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Feb 2009, 04:25 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR