Zen Cart Logo
Forums / General Questions / Add to Zen Cart Cart from main site

Add to Zen Cart Cart from main site

Locked

Views: 988

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
8 Apr 2008, 12:40 PM
#1
mkyle avatar

mkyle

New Zenner

Join Date:
Mar 2005
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Add to Zen Cart Cart from main site

Hi,

is it possible to have a link on a product on my main site that when clicked would add the item to the zen cart shop cart and take you to the checkout pages

Thanks, Martin

8 Apr 2008, 12:56 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Add to Zen Cart Cart from main site

If you mean by "main site" = page outside zencart, then no.
But you could link to product of your choice, so goes to
that product in your zencart install.
Reason: Add to cart is done via sessions in zencart, so if you
are on outside page, sessions are not called.

8 Apr 2008, 2:35 PM
#3
mkyle avatar

mkyle

New Zenner

Join Date:
Mar 2005
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Re: Add to Zen Cart Cart from main site

Thanks for the quick response. What would be the easiest way to link it to the product in the zencart install

Thanks Martin

8 Apr 2008, 2:37 PM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Add to Zen Cart Cart from main site

easiest way to link it to the product in the zencart install
Well as don't have url of your zencart site, rather difficult
to quote code, plus what sort of link do you want.. text/image?

8 Apr 2008, 4:12 PM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Add to Zen Cart Cart from main site

If you just require text link then fairestcape's
link is correct.. add that code and associate
to an image if required.
:smile:

8 Apr 2008, 8:27 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Add to Zen Cart Cart from main site

Just don't include the zen id in the link you use. You can chop that off the end of the url.