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?
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?
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.
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.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
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
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
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
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...
Bookmarks