Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to show catagory new products index in products info page?

How to show catagory new products index in products info page?

Locked

Started by eric2008 on 28 Jun 2008, 2:22 PM · Views: 1,350

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
28 Jun 2008, 2:22 PM
#1
eric2008 avatar

eric2008

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Post #1 by eric2008

I opened "New Porducts Index" for my zen-cart shop, and in home page the main new products are displayed while the catagory new products are displayed in the catagory page. But, now i'd like to displayed the catagory new products index box in each products info page. Please how to do this. Any help would be highly appreciated, thanks in advance.

Please refer to the link:
http://www.chinadone.com/ipod-repair-parts-c-89.html
the new products index for ipod parts catagory are displayed in "ipod catagory".
And i have copied the php html"<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_NEW_PRODUCTS') { ?>

<?php /** * display the New Products Center Box */ ?> <?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?> <?php } ?>" from includes\templates\template_default\templates\tpl_index_categories.php fold to includes\templates\template_default\templates\tpl_product_info_display.php fold, but products info page always displays the main new products, not catagory new products. We have tried many times, but it is always failed.

Sorry for my poor english. I come from China.