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

    Default Displaying "special" before "products of the month"

    I'm trying to show "specials" on top of "products of the month" but I cannot find where to do it. I checked on all forums and I google it but I cannot find a solution.
    I edited the /public_html/includes/templates/template_default/templates/tpl_index_default.php
    but it's still not working.
    Please your help is appreciated.

  2. #2
    Join Date
    Apr 2008
    Location
    Athlone, Ireland
    Posts
    176
    Plugin Contributions
    5

    Default Re: Displaying "special" before "products of the month"

    You can do it by editing the file > includes/templates/template_default/templates/tpl_index_default.php

    You will see each section marked in comments, just move the sections around as you wish..

    Example:

    Find
    Code:
    <?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 } ?>
    and move it above the one you want below it, for example if you want but it above featured products, place it above this code

    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 } ?>
    Hope that helps...

    Or you could just go to Admin > Configuration > Index Listing and use the sort order tools :)
    Last edited by dropbop; 15 Dec 2012 at 09:57 PM.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 16 Oct 2011, 12:58 AM
  2. Replies: 2
    Last Post: 23 Feb 2011, 08:07 AM
  3. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  4. Keeping "New products" and "monthly special" only on homepage ?
    By Corinne in forum Basic Configuration
    Replies: 2
    Last Post: 10 Jun 2007, 10:14 PM
  5. Inside the "Categories" box it says "New Products" and "All Products"...
    By john9 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Feb 2007, 07:55 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR