hmmm, currently i know where to solve the sub category descriptions, but i'm not good with php, so i need help.
$child_list actually displays the categories. BUT, it displays it at the side as well. in shop.browse.php + ps_product_category.php, $child_list is used to generate the display. in order for it to display the descriptions under the one in the sub category page, i'll have to change the child_list function right? is there anyway way to modify the code for it?
in shop.browse.php:
$child_list = $ps_product_category->get_child_list($category_id);
$desc = $ps_product_category->get_description($category_id);
if (!empty( $child_list )) {
echo $child_list;
}
echo '</div>';
if (!empty( $child_list )) {
echo '<br style="clear:both;" /><br />';
}
this would display it on the main page.(shown below in blue)
in ps_product_category.php
function print_child_list($category_id) {
echo $this->get_child_list($category_id);
}
prints it on the module side.
so... how can i enable both functions to print differently?