Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product layout unique for each category?

Product layout unique for each category?

Locked

Views: 1,958

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
22 Jun 2008, 5:47 PM
#1
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Product layout unique for each category?

The site I'm working on has one major section with a custom layout. The standard layout tpl has been modified for the major category but each of the other 6 categories has a different layout requirement. How do I create unique product layouts for each category?

Thanks

22 Jun 2008, 6:08 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Product layout unique for each category?

Use a different product type for each category - note: you will probably want to clone the product general to do this.

22 Jun 2008, 6:30 PM
#3
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Re: Product layout unique for each category?

Thanks Kim - can I ask another?

There are only a few standard product types - how do I create others?

By clone product general do you mean copy the General tpl file?

22 Jun 2008, 6:32 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Product layout unique for each category?

In the downloads section is the Book Product Type - it has excellent instructions on how to clone (create) a new product type.

22 Jun 2008, 6:35 PM
#5
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Re: Product layout unique for each category?

DocRocks:

Thanks Kim - can I ask another?

There are only a few standard product types - how do I create others?

By clone product general do you mean copy the General tpl file?

As usual I didn't investigate the product type page adequately and now see how to create a new product type.

My second question still needs answering - what is the file that needs copying and modifying that corresponds to the new product type?

Thanks,
Bob

22 Jun 2008, 7:27 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Product layout unique for each category?

There is more than one file - which is why I suggested looking at the book type.

22 Jun 2008, 10:09 PM
#7
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Re: Product layout unique for each category?

I went to the downloads page at zen-cart.com and searched for Product Type and Book Product Type but I don't see the instructions you are referring to. Can you give me a url?

Thanks

22 Jun 2008, 10:18 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Product layout unique for each category?

You will find some versions of this under the "Click here for older contributions" link in Downloads. Also check the support thread for Product Type Book by Moku. There are probably newer versions available through that.

22 Jun 2008, 10:26 PM
#9
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Product layout unique for each category?

OT- If someone would compile the changed files and upload them to the new section it would be very helpful ... hint, hint

23 Jun 2008, 12:10 AM
#10
docrocks avatar

docrocks

Zen Follower

Join Date:
Jun 2005
Location:
Massachusetts
Posts:
148
Plugin Contributions:
0

Re: Product layout unique for each category?

Thanks for the direction Glenn. I think I see the general outline of what needs doing but from Kim's comment it looks like these files are designed for ver. 1.2 and won't work on the ZC 1.3.7 that I am using - true?? In any case there are many files in the archived_product-types/demo_book zipped files and I don't begin to know or understand which ones I need.

Is this workflow I'm looking for too complicated for a php-non-expert like me? Should I be looking for a programmer to assist me?

Thanks

23 Jun 2008, 8:53 AM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Product layout unique for each category?

This thread has in more recent posts information on the latest version of the mod (check post #381.)