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.
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.
Find this code (line 58):
and move it below this code (line 84):Code:<?php // categories_description if ($current_categories_description != '') { ?> <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description; ?></div> <?php } // categories_description ?>
I hope this helps,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); ?>
Ron Peled
is there another method this didn't do anything for me
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.
For me this only worked when I made the change on tpl_index_product_list.php
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 -->
Bookmarks