Zen Cart Logo
Forums / General Questions / Need Zen Cart Objects in non-zen cart web pages

Need Zen Cart Objects in non-zen cart web pages

Locked

Views: 1,386

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Jan 2008, 2:49 AM
#1
udos avatar

udos

New Zenner

Join Date:
Jan 2008
Posts:
22
Plugin Contributions:
0

Need Zen Cart Objects in non-zen cart web pages

Hello

I need some Zen Cart elements on php pages outside the Zen Cart directory tree. For instance, on a "normal" non-zen cart php webpage I need an option to"buy now" that will take the user directly to their zen shopping cart populated with an order of qty 1 of said item. Right now all the link does is bring them to a page that says that their cart is empty, although the link URL is formatted to "add_item".

I also need to embed Zen Cart prices from the database into non-zen cart pages.

What headers will make this possible?

7 Jan 2008, 1:59 PM
#2
udos avatar

udos

New Zenner

Join Date:
Jan 2008
Posts:
22
Plugin Contributions:
0

Re: Need Zen Cart Objects in non-zen cart web pages

After reading other related posts this appears to be another "session-dependent" zen-like "feature" :)

Zen appearantly does not exist outside the PHP-session continuum... :lamo:

9 Jan 2008, 4:49 AM
#4
udos avatar

udos

New Zenner

Join Date:
Jan 2008
Posts:
22
Plugin Contributions:
0

Re: Need Zen Cart Objects in non-zen cart web pages

shackle:

this may help you:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=79

No. I had a look at his code but had errors when I tried to use the same php requires directly in non-zen cart pages. Like a couple others who have complained about this in the past, I don't need a sidebox. I need to go directly from a non-zencart page to a zen shopping caart populated with the default qty ("1") for login and checkout. I need to embed zen cart info anywhere in non-zencart php. Basic stuff like that.