Forums / General Questions / Can I change the path of the "Call for Price" Link instead of going to contact us?

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

Locked

Started by sfklaas on 29 Jun 2009, 2:16 AM · Views: 2,753

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Jun 2009, 2:16 AM
#1
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

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?

30 Jun 2009, 2:41 AM
#2
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

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.

30 Jun 2009, 5:30 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

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.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

1 Jul 2009, 4:11 AM
#4
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

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.php?main_page=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

1 Jul 2009, 4:46 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,893
Plugin Contributions:
20

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

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

1 Jul 2009, 6:51 PM
#6
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

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...