Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding a static home page

Adding a static home page

Views: 1,173

Results 1 to 8 of 8
16 Mar 2012, 1:58 PM
#1
djc_electronics_ltd avatar

djc_electronics_ltd

New Zenner

Join Date:
Mar 2012
Posts:
13
Plugin Contributions:
0

Adding a static home page

Hi all,

We are new to ZenCart, and so we are looking for some early advise.

We are looking to install a static homepage on which a customer can click one of three options to take them through to the cart.

When the customer clicks to go through to the cart from this homepage, we also want for the url to show shop.abc.co.uk for example instead of https://www.abc.co.uk/..............

How do we do this?

DJC

16 Mar 2012, 2:01 PM
#2
sethf avatar

sethf

Zen Follower

Join Date:
Sep 2011
Posts:
228
Plugin Contributions:
0

Re: Adding a static home page

This is possible through cPanel by using sub-domains, correct me if I'm wrong.

16 Mar 2012, 2:27 PM
#3
ravynw34 avatar

ravynw34

Zen Follower

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
112
Plugin Contributions:
0

Re: Adding a static home page

Hello,
Do you mean adding a static html page or a static page on Zen Cart main index page?

16 Mar 2012, 2:41 PM
#4
djc_electronics_ltd avatar

djc_electronics_ltd

New Zenner

Join Date:
Mar 2012
Posts:
13
Plugin Contributions:
0

Re: Adding a static home page

ravynw34:

Hello,
Do you mean adding a static html page or a static page on Zen Cart main index page?

Hi. We want a page not connected to ZenCart, and have ZenCart accessible through a link on this home page, so we think we require a static HTML page.

When the customer would click through, ZenCart would then also have its own homepage/store front to the cart, under the domain shop.abc.co.uk for example.

Thanks.

16 Mar 2012, 3:04 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Adding a static home page

Just create your HTML page with links to the other pages, name it index.html and place it in the root directory of your domain. Install Zencart in yourdomain.com/shop.

16 Mar 2012, 4:27 PM
#6
djc_electronics_ltd avatar

djc_electronics_ltd

New Zenner

Join Date:
Mar 2012
Posts:
13
Plugin Contributions:
0

Re: Adding a static home page

stevesh:

Just create your HTML page with links to the other pages, name it index.html and place it in the root directory of your domain. Install Zencart in yourdomain.com/shop.

Thanks. I have installed the cart to /shop. Bit of a noob questions, but could you let me know how I would create the HTML page, name it index.html and place it in the root directory?

Cheers.

16 Mar 2012, 6:02 PM
#7
stevesh avatar

stevesh

Black Belt

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

Re: Adding a static home page

Not really. This forum mainly deals with Zencart questions. There are some excellent HTML tutorials at https://www.wc3schools.com

17 Mar 2012, 12:31 AM
#8
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Adding a static home page

Copy the following, paste it into notepad, and save it as index.html
Refer to stevesh link to edit the various parts (metas, and body) to your needs
Upload to server

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<title> YOUR SITE TITLE </title>
		<meta name="description" content="YOUR SITE DESCRIPTION">
		<meta name="distribution" content="global">
		<meta name="robots" content="index,follow">
		<meta name="rating" content="General">
		<meta name="language" content="italian, it, en-us">
		<meta name="classification" content="Internet Services">
		<meta name="keywords" content="YOUR KEYWORDS">
		<link href="YOUR_STYLESHEET.css" rel="styleSheet" type="text/css" />
	</head>

	<body>

<a href="yourdomain/shop">your link text</a>

	</body>

</html>