Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2010
    Posts
    6
    Plugin Contributions
    0

    xhtml problem Displaying the latest product of a particular category into sub category

    Hi,

    I am new to zen cart and I want to know one thing.
    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!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Displaying the latest product of a particular category into sub category

    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

  3. #3
    Join Date
    Mar 2010
    Posts
    6
    Plugin Contributions
    0

    xhtml problem Re: Displaying the latest product of a particular category into sub category

    Quote Originally Posted by kobra View Post
    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

    Code:
    ?>
    <?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

    Code:
    <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?

  4. #4
    Join Date
    Mar 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Displaying the latest product of a particular category into sub category

    double post
    Last edited by BB3G; 14 Mar 2010 at 10:54 PM.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Displaying the latest product of a particular category into sub category

    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

  6. #6
    Join Date
    Mar 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Displaying the latest product of a particular category into sub category

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

 

 

Similar Threads

  1. Removing the Category and Sub Category header on the Main page
    By redsy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Jul 2013, 12:43 AM
  2. Replies: 1
    Last Post: 24 Mar 2013, 11:04 AM
  3. v139h How do I bulk-move all products from Sub-Category into a parent Category?
    By shags38 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Jun 2012, 07:19 PM
  4. Displaying Sub Categories on the top of a Category Page
    By missesbeehaven in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Jun 2009, 11:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg