Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / integrating Zen Cart into existing web site

integrating Zen Cart into existing web site

Locked

Views: 1,731

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 May 2008, 12:56 AM
#1
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

integrating Zen Cart into existing web site

Hi, all -

I just discovered Zen Cart today -- it looks like it's more than enough for my very meager cart needs.

I've read the various documentation that talks about making specific changes to my cart page(s). I think I can stumble through that with relative effectiveness, but...before I wade in up to my hips, I want to ask a more general question.

As a first stab to integrating Zen into my existing web site, I used a PHP include to reference the index.php file in the main directory. Here's the result:

http://www.scopedin.com/wordpress/?page_id=87&preview=true

Needless to say, it needs a bit of work. Before I start going in and making changes in the code, though, it occurs to me that there's probably a smarter way to do this, a way that will survive upgrades to Zen Cart. Is there some directory in which to place custom/overriding stuff?

Once I get the presentation aspect of this whipped, I expect it will be quite simple to go in and start making the specific changes.

I hope this question was clear...thanks for any help.

mz

15 May 2008, 2:00 AM
#2
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: integrating Zen Cart into existing web site

Hi, all -

I just discovered Zen Cart today -- it looks great!

I've read the docs about making specific changes to my cart page(s). As a first stab to integrating Zen into my existing web site, I used a PHP include to reference the index.php file in the main directory. Here's the result:

(link deleted to see if post will now work)

Needless to say, it needs a bit of work. Before I start going in and making changes in the code, though, I'm curious whether there's a way todo this, that will survive upgrades to Zen Cart. Is there a directory in which to place custom/overriding stuff?

I hope this question was clear...thanks for any help.

Edit: aha...it looks like I'm not yet permitted to post a link. Once I removed the link, it worked. So...how long before I get to post a link?

15 May 2008, 3:19 AM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: integrating Zen Cart into existing web site

So what you want to do is show the cart within the wordpress page? If this is so its never gonna work. Your better of running them side by side. There is a mod that will let show wordpress posts in the cart and there is another mod that will let you use zencart sideboxes outsied of the cart, but to mix them the way I think you are looking to will be all sorts of problems with sessions that you will not be able to resolve. the following site is an implementation of word press and Zen Cart running side by side and styled to match each other. It is fairly seemless, you can tell when you on ZC pages by the url. http://www.eyeitalia.com/

15 May 2008, 6:02 AM
#4
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: integrating Zen Cart into existing web site

OK...I'm willing to give up on the idea of running ZC from within WordPress, if I can make the ZC pages look somewhat like the rest of the site.

The example you gave is a beautiful implementation. So, if I were to want to try to do something similar...where do I start? What docs should I be reading?

Thanks.

16 May 2008, 5:58 PM
#5
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: integrating Zen Cart into existing web site

OK, guys - here's the problem I have:

I've looked through the faqs and the stickies. Lots of good information, but...it's all very specific (how to do this particular thing). Is there any info that discusses this at more of a conceptual level? I'm willing to wade in and start making changes, but...I'd like to know that I'm at least pointed in the right direction before I start hacking through the jungle.

Also: I could not find a tutorial in the section labeled "tutorials/faq" -- did I miss it, or is it still in the making?

Thanks for any guidance.

20 Apr 2009, 12:05 AM
#6
jrim avatar

jrim

New Zenner

Join Date:
Apr 2009
Posts:
11
Plugin Contributions:
0

Re: integrating Zen Cart into existing web site

mzimmers:

OK, guys - here's the problem I have:

I've looked through the faqs and the stickies. Lots of good information, but...it's all very specific (how to do this particular thing). Is there any info that discusses this at more of a conceptual level? I'm willing to wade in and start making changes, but...I'd like to know that I'm at least pointed in the right direction before I start hacking through the jungle.

Also: I could not find a tutorial in the section labeled "tutorials/faq" -- did I miss it, or is it still in the making?

Thanks for any guidance.

Anyone have an answer to this guy's question? I want to know the exact same thing.

20 Apr 2009, 2:01 AM
#7
afo avatar

afo

Totally Zenned

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

Re: integrating Zen Cart into existing web site

I'm not exactly sure what you mean by "the exact same thing". Change colors, background color/image and font sizes in the stylesheet (includes/templates/YOUR_TEMPLATE/css/stylesheet.css). Text/verbiage/literals can be changed in various files, depending on what you want to change. The Tutorials/FAQ contain lots of info on those specifics.

20 Apr 2009, 6:24 AM
#8
kobra avatar

kobra

Black Belt

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

Re: integrating Zen Cart into existing web site

mzimmers:

Also: I could not find a tutorial in the section labeled "tutorials/faq" -- did I miss it, or is it still in the making?
There is not one, all encompassing tutorial - which is what I believe you are asking about..
As this is php, it is all about "pieces"
Header
left
center
right
footer

Are the main areas - Yours is mostly your header image and an added menu bar for ZenCart to resemble it....fairly easy
For starters:

https://www.zen-cart.com/tutorials/index.php?article=124
https://www.zen-cart.com/tutorials/index.php?article=45
https://www.zen-cart.com/tutorials/index.php?article=232