Zen Cart Logo
Forums / General Questions / Changing 'Buy' button to a link

Changing 'Buy' button to a link

Locked

Views: 1,078

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Feb 2008, 4:42 PM
#1
timjbart avatar

timjbart

New Zenner

Join Date:
Feb 2008
Posts:
26
Plugin Contributions:
0

Changing 'Buy' button to a link

Hi,

I want to use Zen Cart to be an online catalogue, but instead of using the Shopping Cart, I want a button on each product page where I can specify a certain link.

So, if someone is interested in the product, they can click a 'More Info' button that acts as a hyperlink and takes them to an off-site address.

Is it possible to change the way the 'Buy' button behaves? Where about is the code located in Zen?

Thanks

:cool:

9 Feb 2008, 5:01 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing 'Buy' button to a link

So if you send them elsewhere and change your buy button how will they be able to buy?

9 Feb 2008, 5:36 PM
#3
timjbart avatar

timjbart

New Zenner

Join Date:
Feb 2008
Posts:
26
Plugin Contributions:
0

Re: Changing 'Buy' button to a link

kobra:

So if you send them elsewhere and change your buy button how will they be able to buy?

I will be redirecting to an external booking site run by another company, with a code in the hyperlink which indicates the product being purchased.

10 Feb 2008, 12:44 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Changing 'Buy' button to a link

This will require a lot of work - firstly, product info is displayed in many forms - each with its own template setup. For example, there's a template set that will return product info as a result of a search. There's a template set that displays featured products, and another that will display ALL products, and others that drill down into a product's full information. In each of these sets of templates, there are complicated calls to action off the database.

Next, there will be considerable work needed on the database itself - if it is to strip in dynamic data to build a url (or a query into a remote database).

I'm sure it's possible - but you'll probably have to hire someone here - it's a lot of work.

10 Feb 2008, 11:30 AM
#5
timjbart avatar

timjbart

New Zenner

Join Date:
Feb 2008
Posts:
26
Plugin Contributions:
0

Re: Changing 'Buy' button to a link

Ok thanks for the info. I think for ease I'll just put a big image button in the description using html code, and disable the shopping cart.

Not as slick as using the built in buttons in zen cart though:blink: