Zen Cart Logo

custom product types

Views: 756

Results 1 to 2 of 2
2 Feb 2010, 6:25 PM
#1
tokkie avatar

tokkie

New Zenner

Join Date:
Sep 2009
Posts:
22
Plugin Contributions:
0

custom product types

Hello,

I'm wishing to customize a product type.

I've read the posts/threads regarding new product types etc but it seems to be a mission.:blink:

I never use the music product type so I thought the easiest way is just to customize the tpl_product_music_info_display.php file. I realize that in future updating zencart version may be a problem. I'll live with it for now, as the new tpl_product_music_info_display.php will be moved to my TEMPLATE directory.

I created a new category (test), and when editing it, i set restrict to product type to music in the dropdown. However, when i display the category (test), it does not use the tpl_product_music_info_display.php, but displays the product in type 'general' . Got me confused. Why can't i display the products in test using the template of music ?

Thanks,

2 Feb 2010, 6:57 PM
#2
tokkie avatar

tokkie

New Zenner

Join Date:
Sep 2009
Posts:
22
Plugin Contributions:
0

Re: custom product types

figured it out.

Choosing a category displays all the products for the category in the normal way (only one). When you choose an individual product from the product listing, the product is displayed according to its type (when setup). So the question arises, how do you change the product listing according to the type of products listed?

Ie. Two categories, racquets and shoes. Racquets I display as normal product listing.

Shoes I wish for 1 line per product in a table, with no image.

Anyone ?