Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    14
    Plugin Contributions
    0

    Default Less products in whats new

    Hi,

    I've been trying to find a way to change the number of products showed within the whats new box from 9 to 6... but I can't seem to find this anywhere.

    I've looked in the admin area > configuration > layout .. and the listings but I can't find a way to do this.

    edit:

    Prefably I'd also like to remove the style="width:33%" so I can do this through CSS...

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

    Default Re: Less products in whats new

    admin > config > maximum values > New Products Module > set to your max
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Less products in whats new

    Quote Originally Posted by kobra View Post
    admin > config > maximum values > New Products Module > set to your max
    Wow.. that was easy...

    don't suppose theres an easy way to change the order of What's new - featured - specials?

    right now it's

    Whats new
    featured
    specials

    i want:

    featured
    specials
    whats new

    Also is there a way to remove

    style="width:33%;"

    from:

    HTML Code:
        <div class="centerBoxContentsNew centeredContent back" style="width:33%;">

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

    Default Re: Less products in whats new

    Not as easy...look towards the end of this post
    http://www.zen-cart.com/forum/showthread.php?t=118972
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Less products in whats new

    Quote Originally Posted by kobra View Post
    Not as easy...look towards the end of this post
    http://www.zen-cart.com/forum/showthread.php?t=118972
    The thing is, it seems like it's already in the right order ...

    PHP Code:
    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
    <?php
    /**
     * display the Featured Products Center Box
     */
    ?>
    <?php 
    require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
    <?php 
    ?>

    <?php
      $show_display_category 
    $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
      while (!
    $show_display_category->EOF) {
    ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
    <?php
    /**
     * display the Featured Products Center Box
     */
    ?>
    <?php 
    require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
    <?php 
    ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
    <?php
    /**
     * display the Special Products Center Box
     */
    ?>
    <?php 
    require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
    <?php 
    ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_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 
    ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
    <?php
    /**
     * display the Upcoming Products Center Box
     */
    ?>
    <?php 
    include(DIR_WS_MODULES zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php ?>

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

    Default Re: Less products in whats new

    I sent you to a thread where they wanted this before the main page text content.....

    admin > config > index listing > Set the order

    Show New Products on Main Page
    Show Featured Products on Main Page
    Show Special Products on Main Page
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v150 WHATS NEW CATAGORY HELP .. hiding certain products
    By jgirl5799 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 6 Aug 2012, 02:32 AM
  2. How to toggle between Whats New Box and Whats New on Main page?
    By Asdesign in forum Basic Configuration
    Replies: 0
    Last Post: 12 Aug 2009, 06:37 PM
  3. whats new abd feature products boxes
    By veasnak in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Apr 2008, 06:13 AM
  4. Removing the [more] from whats new / new products
    By jonhurlock in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jan 2008, 12:22 AM
  5. 2 products on a row in Whats new?
    By jagge in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Aug 2007, 10:34 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