Forums / Templates, Stylesheets, Page Layout / Integration into existing CSS/HTML site

Integration into existing CSS/HTML site

Locked

Started by ckbnelson on 10 May 2010, 8:03 PM · Views: 4,627

Results 1 to 20 of 26
This thread is locked. New replies are disabled.
10 May 2010, 8:03 PM
#1
ckbnelson avatar

ckbnelson

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Integration into existing CSS/HTML site

Hey guys, I'm sure this question (and many variations of it) has been asked many times, but I just can't seem to track down an answer that fits my issue.

I've developed a very nice site using CSS and HTML for my business. Currently, the site can be found here: http://www.mystichobbygames.com

I want to keep my layout, and integrate the store into this layout.

Thoughts, ideas, etc?

10 May 2010, 8:48 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

you can integrate your layout into zencart pretty easy , but you can not integrate zencart into your current site .
you can start by installing and learning Zencart . you can find many template that their structure looks lik your current template . from there on , is matter of working on CSS and adding few addon's to get the look.

11 May 2010, 2:59 PM
#3
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

ckbnelson:

Hey guys, I'm sure this question (and many variations of it) has been asked many times, but I just can't seem to track down an answer that fits my issue.

I've developed a very nice site using CSS and HTML for my business. Currently, the site can be found here: http://www.mystichobbygames.com

I want to keep my layout, and integrate the store into this layout.

Thoughts, ideas, etc?

I have been wrestling with this same issue for the past week.
I have a client who wants a shopping cart integrated within the website. Each page must have the categories list as well as a product search function.
At first I tried using an I-frame,but it did not look right plus Google does not index I-frame content apparently,so the I-frame flew out of the window.
So I decided to fiddle with the Zencart templates to see if I can make it at least look like the site, since the client likes the html design and I can't change it now.
Anyways,I am still busy trying to get the Zen template to look like the html site and I am almost there.:smile:

But, since my Zencart is in a subfolder on my server, I wanted the url of the website to point to an index page and not the Zencart folder or the storefront page.

Soooo....today I sat the whole day, trying to figure out how I am gonna get Zen integrated into the site in the manner that the client wants.

And :clap: I found a way!
I have successfully managed to add the categories sidebox and the product search sidebox to my htm pages and it works!

What I did, is to look at the html source of my Zen cart page.
I then copied the html code of categories box into my html site page. I then also copied the search box code into my html page.
But, everything on the page went haywire. So I started deleting one line of html code at a time (the search box code) and lo and behold I got it to work.

So what you have to do, is to first create your shop in Zencart,define categories etc.
Fiddle with your Zencart template until your Zencart looks like your html site.
Then create Eazy Pages eg Home, About,store,products etc
Link these pages to your external html pages,but link the store/products pages,to the actual zen pages.

Then in your html site, create identical navigation as the Eazy pages navigation and create links exactly to same urls as you did in Zencart.

Voila, your Zencart is now integrated to a degree.:D

11 May 2010, 3:20 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Integration into existing CSS/HTML site

Until the customer loses all the stuff he put in his cart when his session expires while he's switching back and forth between Zencart and non-Zencart pages. You might want to test that.

Still always less hassle to style Zencart to look like the original site, unless your client is really unreasonable about small changes.

11 May 2010, 3:28 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Integration into existing CSS/HTML site

enigma666666:

I have been wrestling with this same issue for the past week.
I have a client who wants a shopping cart integrated within the website. Each page must have the categories list as well as a product search function.
At first I tried using an I-frame,but it did not look right plus Google does not index I-frame content apparently,so the I-frame flew out of the window.
So I decided to fiddle with the Zencart templates to see if I can make it at least look like the site, since the client likes the html design and I can't change it now.
Anyways,I am still busy trying to get the Zen template to look like the html site and I am almost there.:smile:

But, since my Zencart is in a subfolder on my server, I wanted the url of the website to point to an index page and not the Zencart folder or the storefront page.

Soooo....today I sat the whole day, trying to figure out how I am gonna get Zen integrated into the site in the manner that the client wants.

And :clap: I found a way!
I have successfully managed to add the categories sidebox and the product search sidebox to my htm pages and it works!

What I did, is to look at the html source of my Zen cart page.
I then copied the html code of categories box into my html site page. I then also copied the search box code into my html page.
But, everything on the page went haywire. So I started deleting one line of html code at a time (the search box code) and lo and behold I got it to work.

So what you have to do, is to first create your shop in Zencart,define categories etc.
Fiddle with your Zencart template until your Zencart looks like your html site.
Then create Eazy Pages eg Home, About,store,products etc
Link these pages to your external html pages,but link the store/products pages,to the actual zen pages.

Then in your html site, create identical navigation as the Eazy pages navigation and create links exactly to same urls as you did in Zencart.

Voila, your Zencart is now integrated to a degree.:D

Without going into detail, this approach simply will not work. The main reason is the fundamental difference between DYNAMIC content and STATIC content, and the fact that PHP performs hundreds of FUNCTIONS over-and-above its role of cobbling together a web page.

If you pursue this route, you are not only wasting a LOT of time on a pointless quest, but you are putting the functionality of your client's site at severe risk - not only from a performance point of view but also:

Security and User Data safety
Session Tracking and Management
Bi-directional communication with payment gateways
Search Engine analysis and indexing of your site.

If I was your client, you would be immediately FIRED ! :shocking:

Do the job properly... what you will deliver will be a dismal failure, then your client will blame zencart.

20 years a Zencart User

11 May 2010, 5:45 PM
#6
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

schoolboy:

Without going into detail, this approach simply will not work. The main reason is the fundamental difference between DYNAMIC content and STATIC content, and the fact that PHP performs hundreds of FUNCTIONS over-and-above its role of cobbling together a web page.

If you pursue this route, you are not only wasting a LOT of time on a pointless quest, but you are putting the functionality of your client's site at severe risk - not only from a performance point of view but also:

Security and User Data safety
Session Tracking and Management
Bi-directional communication with payment gateways
Search Engine analysis and indexing of your site.

If I was your client, you would be immediately FIRED ! :shocking:

Do the job properly... what you will deliver will be a dismal failure, then your client will blame zencart.

It is precisely because I am doing exactly as the client requested that the site will not be a dismal failure.:wink:
And you do not have to stress,nobody is going to blame Zencart for anything.

I really do not see how integrating (on 1 or 2 html webpages)
a categories sidebox which links to the Zencart itself and a search function which leads to Zencart search page, could result in the site being a dismal failure or a security risk.
Its akin to having a standard html page with a standard link to Zencart in a subfolder on the server.

It is possible to integrate other shopping carts within html sites without any problems so I do not see why Zencart should be any different or why it is such a taboo to even suggest integrating Zencart elements into other platforms.

Surely it can only be to the benefit of Zencart if those who really want to integrate Zencart into whatever platform, find a way to do so.
I know that Zencart is already very popular,but many find it difficult to customize and make it look the way that they want it to look. If Zencart has widgets for instance that could be added to existing websites, regardless of platform, it will make Zencart accessible to those who want an unique look to their sites and also to those who are not php boffins.

I also realize that php experts see it as an affront if a person does things the unorthodox way,but everything need not always be either black or white and to some people gray is a preferred color.:smile:

11 May 2010, 6:13 PM
#7
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

stevesh:

Until the customer loses all the stuff he put in his cart when his session expires while he's switching back and forth between Zencart and non-Zencart pages. You might want to test that.

Still always less hassle to style Zencart to look like the original site, unless your client is really unreasonable about small changes.

Yes,the client is very particular :frusty:
All products, searches and the catalog will be displayed on Zencart pages. I am only adding the search function and the categories link box on 1 or 2 html pages.

I don't think that the clients will be switching between pages all the time. If you think about it logically,if the clients want to view products, they will click on the "products" link or on the "categories links" which all open up Zencart which is in a subfolder. I do not think that the clients are gonna decide halfway through browsing or shopping, to go and read the "about us" html page.:smile:

11 May 2010, 6:17 PM
#8
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

Btw, Schoolboy, I noticed one of your sites is for a SA site.
Are you a South African expat?:smile:

11 May 2010, 7:14 PM
#9
afo avatar

afo

Totally Zenned

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

Re: Integration into existing CSS/HTML site

The problem is that you are trying to use Zen Cart in a manner that it isn't designed to be used, so you are going to have problems at some point.

You might want to consider this free add-on http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=79

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 May 2010, 7:26 PM
#10
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

afo:

The problem is that you are trying to use Zen Cart in a manner that it isn't designed to be used, so you are going to have problems at some point.

You might want to consider this free add-on http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=79

Okay, so if I am understanding this correctly, if a person links to Zencart, be it in the form of a standard link or by using eg categories box integrated into a html page or even a php page for that matter, it will automatically be a security risk and/or cause problems?
In other words, it is not safe to use Zencart unless one builds the entire site within Zencart and Zencart only?

11 May 2010, 7:28 PM
#11
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

Oops I only now saw the link you posted,thanx for the link.

How does this addon differ from what I did?
What makes it more secure than the method I used to accomplish the same?

11 May 2010, 11:29 PM
#12
kobra avatar

kobra

Black Belt

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

Re: Integration into existing CSS/HTML site

enigma666666:

How does this addon differ from what I did?
What makes it more secure than the method I used to accomplish the same?
enigma666666:

What I did, is to look at the html source of my Zen cart page.
I then copied the html code of categories box into my html site page. I then also copied the search box code into my html page.
With your method you have created a "Static" html page...
Try renaming a category or adding a category - - you will not see it on your html page
The module keeps this "dynamic" so any change is represented as they are made

Zen-Venom Get Bitten

12 May 2010, 5:17 AM
#13
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

Yes I realize this, but categories are already defined and are set in stone, so will not be updated in anycase thus the static box serves its purpose.
Posted via Mobile Device

12 May 2010, 7:38 AM
#14
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Integration into existing CSS/HTML site

enigma666666:

Btw, Schoolboy, I noticed one of your sites is for a SA site.
Are you a South African expat?:smile:

I and my business associate (fairestcape) flit between London and Cape Town..., but spend more time in London.

Where we are at any given point can be determined by prevailing weather conditions :D

(Right now I am in London)

20 years a Zencart User

12 May 2010, 7:44 AM
#15
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Integration into existing CSS/HTML site

enigma666666:

It is precisely because I am doing exactly as the client requested that the site will not be a dismal failure.:wink:
And you do not have to stress,nobody is going to blame Zencart for anything.

I really do not see how integrating (on 1 or 2 html webpages)
a categories sidebox which links to the Zencart itself and a search function which leads to Zencart search page, could result in the site being a dismal failure or a security risk.
Its akin to having a standard html page with a standard link to Zencart in a subfolder on the server.

It is possible to integrate other shopping carts within html sites without any problems so I do not see why Zencart should be any different or why it is such a taboo to even suggest integrating Zencart elements into other platforms.

Surely it can only be to the benefit of Zencart if those who really want to integrate Zencart into whatever platform, find a way to do so.
I know that Zencart is already very popular,but many find it difficult to customize and make it look the way that they want it to look. If Zencart has widgets for instance that could be added to existing websites, regardless of platform, it will make Zencart accessible to those who want an unique look to their sites and also to those who are not php boffins.

I also realize that php experts see it as an affront if a person does things the unorthodox way,but everything need not always be either black or white and to some people gray is a preferred color.:smile:

You are free to employ any methodology you wish, but your description of the methods you are currently focusing on indicate to me that you have a very limited understanding of how dynamic content sites work.

There is a LOT happening in the background that is not immediately obvious. Session tracking, algorithmic calculations, data processing and complex management that can ONLY be reliably performed using the core code.

Just because you can SEE stuff in a browser window and it APPEARS to do what it is designed to do, is no guarantee that ALL the functions are happening as they should.

Good luck!

20 years a Zencart User

12 May 2010, 8:32 AM
#16
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

schoolboy:

You are free to employ any methodology you wish, but your description of the methods you are currently focusing on indicate to me that you have a very limited understanding of how dynamic content sites work.

There is a LOT happening in the background that is not immediately obvious. Session tracking, algorithmic calculations, data processing and complex management that can ONLY be reliably performed using the core code.

Just because you can SEE stuff in a browser window and it APPEARS to do what it is designed to do, is no guarantee that ALL the functions are happening as they should.

Good luck!

I have a general idea of what is cooking behind the scenes with regards to Dynamic content sites, but I am most defintely not
a coder at all! I'm more of the artsy,visual orientated, creative types:D

I assure you that I am not gonna be making a habit out of integrating some Zencart elements within html sites.
The client does not like the structured look of Zencart at all and want things to be integrated inside the original design I showed to him. The only way I can accomplish this is to do things the onorthodox way. Since the site is essentially an online catalog only and not a fully fledged online store,my methods should not pose a problem at all.

If however,a client wants a fully fledged online store with Zencart chosen as the preferred shopping cart, then I would rather design the entire site inside Zencart off course.:wink:

12 May 2010, 8:43 AM
#17
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

schoolboy:

I and my business associate (fairestcape) flit between London and Cape Town..., but spend more time in London.

Where we are at any given point can be determined by prevailing weather conditions :D

(Right now I am in London)
Awesome I envy you!
Wish I could skip winter altogether by hopping on a plane:smile:
This past Summer hasn't been nice at all in Jhb and way too much rain and cold. What's happening to our beautiful African climate? :shocking:

Btw,your fairestcape site is looking great!
I see you used Joomla for it. I'm still a newbie at Joomla and its taking me forever to get the hang of it.
Wordpress,Drupal and Nuke is so much easier to work with:wink:

12 May 2010, 8:51 AM
#18
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Integration into existing CSS/HTML site

enigma666666:

The client does not like the structured look of Zencart at all and want things to be integrated inside the original design I showed to him.

These two 100% pure zencart sites use EXACTLY the same template (designed by my colleague, fairestcape, and based on the bog-standard zencart CLASSIC template).

All that is different are the GRAPHICS and a few areas of the CSS.

SITE ONE
SITE TWO

20 years a Zencart User

12 May 2010, 11:01 AM
#19
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

schoolboy:

These two 100% pure zencart sites use EXACTLY the same template (designed by my colleague, fairestcape, and based on the bog-standard zencart CLASSIC template).

All that is different are the GRAPHICS and a few areas of the CSS.

SITE ONE
SITE TWO

I like the first linked site, very nice site!

I get what you are saying.
I think what I am going to do, when I get some free time, is to create a couple of unique looking custom Zencart templates and use them as demos for when clients want an online store with Zen shopping cart.
It will make things much easier when working against a deadline, if I already have custom templates on hand.:wink:

12 May 2010, 11:08 AM
#20
enigma666666 avatar

enigma666666

Zen Follower

Join Date:
May 2010
Posts:
142
Plugin Contributions:
0

Re: Integration into existing CSS/HTML site

Btw, since you have been a Zenner for ages,perhaps you can help me with something.
I asked on another thread,but thus far there has not been a concrete answer as to how exactly to accomplish the following:

Client wants products to display no prices or shopping cart at all, so I have disabled cart and prices in admin BUT client wants prices to be displayed on the "Specials" page, but no cart or quantities.

Log-in status is disabled and so the general public will be able to view products without prices and phone for prices.
Public will also be able to view the Specials which have prices displayed,but no online transactions will take place.

Client needs to update products and specials himself so I can't use login permissions as an option.

Any ideas how I can do this, bearing in mind that I am code "challenged"?:smile: