Zen Cart Logo
Forums / General Questions / Store not displaying as a PHP insert

Store not displaying as a PHP insert

Locked

Views: 1,039

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Mar 2009, 2:00 PM
#1
redsky avatar

redsky

New Zenner

Join Date:
Mar 2009
Posts:
14
Plugin Contributions:
0

Store not displaying as a PHP insert

I decided to configure Zen cart to its most minimal - the idea is that I can then include it into the design of any site as a PHP insert.

However - this doen't seem to work as when I use the:

<?php include("../henshop/shop/index.php"); ?>

command - the store isn't displayed.

Anybody have any thoughts?

2 Mar 2009, 2:11 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Store not displaying as a PHP insert

It will not work that way, zencart was not designed to be included like that.

2 Mar 2009, 2:14 PM
#3
redsky avatar

redsky

New Zenner

Join Date:
Mar 2009
Posts:
14
Plugin Contributions:
0

Re: Store not displaying as a PHP insert

bugger...

I suppose it will have to be an iframe insert then. Any problems with that?

Thanks for the quick reply

2 Mar 2009, 2:16 PM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Store not displaying as a PHP insert

redsky:

bugger...

I suppose it will have to be an iframe insert then. Any problems with that?

Thanks for the quick reply
Well, up to you, but if i remember correctly there are tons of other problems while running zencart in a frame as well, you can search the forums for more details.

2 Mar 2009, 2:25 PM
#5
redsky avatar

redsky

New Zenner

Join Date:
Mar 2009
Posts:
14
Plugin Contributions:
0

Re: Store not displaying as a PHP insert

Back to the drawing board then - many thanks

2 Mar 2009, 2:40 PM
#6
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Store not displaying as a PHP insert

Over the years, a lot of people have enquired about "incorporating zencart into their existing site / site design".

As Yellow1912 has said, ZC is just not built to do that. ZC will be the website. The "background" functionality is largely dependant on the "front-end" templating and module system(s) - and vice versa.

But the good news is that many existing site designs can be replicated with the ZC template system - and probably much more easily so than trying to do it the other way around.

As Kuroi (a seasoned and knowledgeable forum guru) has said... You are limited only by your levels of skill and your imagination!