Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2008
    Posts
    2
    Plugin Contributions
    0

    Default Moving Category Description to bottom of page.

    As default, when you create a category and put a description it shows ontop of the page. I would like to move this to the bottom of the page under the products list.

    Can anyone help? it's probably something simple.

    Thank you.

  2. #2
    Join Date
    Sep 2004
    Location
    LA, California
    Posts
    117
    Plugin Contributions
    0

    Default Re: Moving Category Description to bottom of page.

    Find this code (line 58):
    Code:
    <?php
    // categories_description
        if ($current_categories_description != '') {
    ?>
    <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description;  ?></div>
    <?php } // categories_description ?>
    and move it below this code (line 84):
    Code:
    <?php
    $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_CATEGORY);
    
    while (!$show_display_category->EOF) {
      // //  echo 'I found ' . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS);
    
    ?>
    I hope this helps,
    Ron Peled

  3. #3
    Join Date
    Sep 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Moving Category Description to bottom of page.

    is there another method this didn't do anything for me

  4. #4
    Join Date
    Jan 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Moving Category Description to bottom of page.

    This is my first post, so I hope I'm doing it right. Did you find an answer to moving the category description? If not, here's what I did:

    Switched the order of these two:

    <!-- BOF: Display grid of available sub-categories, if any -->
    <?php
    if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
    // do nothing
    } else {
    // display subcategories
    /**
    * require the code to display the sub-categories-grid, if any exist
    */
    require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
    }
    ?>
    <!-- EOF: Display grid of available sub-categories -->


    <?php
    // categories_description
    if ($current_categories_description != '') {
    ?>
    <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description; ?></div>
    <?php } // categories_description ?>

    in includes/templates/templates_default/templates/
    tpl_index_categories.php

    Here's a link - http://www.birthdaygiftsforpets.com/...index&cPath=66 to a category page. The images are subcategory links and the text below the images is the category description.

  5. #5

    Default Re: Moving Category Description to bottom of page.

    For me this only worked when I made the change on tpl_index_product_list.php


  6. #6
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Moving Category Description to bottom of page.

    The files you need to edit are in:

    includes / templates / template_default / templates ...... and then look for: tpl_product_info_display

    Find this line:

    <!--eof Product details list -->

    Copy and paste your product description under it:

    <!--bof Product description -->
    <?php if ($products_description != '') { ?>
    <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
    <?php } ?>
    <!--eof Product description -->

 

 

Similar Threads

  1. Moving Category description next to category icon
    By cshart in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 May 2012, 11:11 PM
  2. Moving Category Description below category images
    By Funkhouserjm in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 Apr 2010, 02:35 AM
  3. Moving header contents to bottom of page
    By broadnax in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Dec 2009, 02:43 AM
  4. Moving text box to bottom of page
    By eminentonline in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Dec 2008, 12:12 AM
  5. Moving sidebox links to bottom of page.
    By rfaau in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Apr 2008, 08:21 PM

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