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 / Displaying the latest product of a particular category into sub category

Displaying the latest product of a particular category into sub category

Locked

Started by bb3g on 14 Mar 2010, 12:25 PM · Views: 1,185

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
14 Mar 2010, 12:25 PM
#1
bb3g avatar

bb3g

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Post #1 by bb3g

Hi,

I am new to zen cart and I want to know one thing. :D
How can I display the latest products of a particular category (e.g. Mens') into a sub-category (e.g. new arrivals) of that particular category?

Here's a sample my categorical structure:

MENS

New Arrivals
T-shirts
Collared Shirts

What I want to do is to display latest products of the entire parent category (MEN'S) to the "New Arrival" child category.

here's a link of my site http://redwhiteoutfitters.com/index.php

Thanks a lot zenners! :D

14 Mar 2010, 7:05 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

ZenCart by default displays "new products" filtered for the cat/sub-cat being displayed
You shouldn't need a seperate sub cat for ne items

Zen-Venom Get Bitten

14 Mar 2010, 9:36 PM
#3
bb3g avatar

bb3g

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Post #3 by bb3g

kobra:

ZenCart by default displays "new products" filtered for the cat/sub-cat being displayed
You shouldn't need a seperate sub cat for ne items

i see kobra! thanks for your reply. :)

another thing.... I am trying to display one banner group in my category pages.. but i found no luck.. i tried to insert

?>
<?php
  if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>

after

<div class="centerColumn" id="indexCategories">
<?php if ($show_welcome == true) { ?>
<h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>

(tpl_index_categories.php)

but nothing has changed.. You guys have any ideas regarding this?

14 Mar 2010, 9:50 PM
#4
bb3g avatar

bb3g

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Post #4 by bb3g

double post

16 Mar 2010, 4:13 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #5 by kobra

I am trying to display one banner group in my category pages.. but i found no luck.. i tried to insert ...

ut nothing has changed..
Quit messing in the files....

admin > tools > Banner Manager

Zen-Venom Get Bitten

16 Mar 2010, 8:38 PM
#6
bb3g avatar

bb3g

New Zenner

Join Date:
Mar 2010
Posts:
6
Plugin Contributions:
0

Post #6 by bb3g

i know how banner group works. i just want to display it in a different location to much my theme....