Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Running two templates on same site

Running two templates on same site

Views: 631

Results 1 to 6 of 6
11 Jan 2012, 11:42 AM
#1
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Running two templates on same site

Is it possible to have two separate templates set up to run on the same zen cart site?

11 Jan 2012, 11:52 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Running two templates on same site

If they're for different languages, yes.

For what purpose are you asking your question? Got a URL to show the site in question?

11 Jan 2012, 11:59 AM
#3
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Running two templates on same site

No URL yet, but need to set up a website that sells carpets and also rugs. The carpets area will have a completely different style to the rugs area on the site. So thats why I need to be able to set up two different templates.

11 Jan 2012, 12:05 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Running two templates on same site

If they're different product types then you can easily have a different layout on the product pages, because each product-type you create has its own product_info_xxxx template. And that way all the other aspects of the site will be identical.
It really depends on how "completely different" each "style" really needs to be and why, and where.

13 Jan 2012, 2:34 AM
#5
sped1530 avatar

sped1530

New Zenner

Join Date:
Nov 2007
Posts:
37
Plugin Contributions:
0

Re: Running two templates on same site

How do you create has its own product_info_xxxx template?

13 Jan 2012, 3:05 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Running two templates on same site

Here's a (somewhat old, but concept is still valid) tutorial on the topic of creating product types: https://www.zen-cart.com/tutorials/index.php?article=114