Forums / General Questions / How to change link on 'Call for Price' to point to an EZ-Page?

How to change link on 'Call for Price' to point to an EZ-Page?

Started by tamuren on 12 Jan 2012, 4:55 PM · Views: 546

Results 1 to 3 of 3
12 Jan 2012, 4:55 PM
#1
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

How to change link on 'Call for Price' to point to an EZ-Page?

Hey everyone,

I would like to know how to change 'call for price' button that leads the customer to one's contact us page when clicked. This button appears where the price of a product would normally be, and I want to change the link to go to an ez page I've created that has a form the user can fill out to request a quote.

How do I do this? :lookaroun

12 Jan 2012, 5:18 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How to change link on 'Call for Price' to point to an EZ-Page?

Change this in functions_general.php:```
case ($button_check->fields['product_is_call'] == '1'):
$return_button = '<a href="[B]' . zen_href_link(FILENAME_CONTACT_US) . '[/B]">' . TEXT_CALL_FOR_PRICE . '</a>';
break;

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jan 2012, 12:04 AM
#3
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: How to change link on 'Call for Price' to point to an EZ-Page?

Thank you sensei.