The script shows a list of all the products in the shop. Even if the products are unavailable (products_status = 0). If we want to show only the available products, follow the instructions below.
---------[ OPEN ]---------
catalog/includes/classes/category_tree.php
---------[ FIND ]-----------
while ($products = tep_db_fetch_array($products_query))
{
---------[ AFTER ADD ]------------
if ($products['products_status'] == 1) {
---------[ AFTER FIND ]---------------
$result .= $this->child_end_string;
---------[ AFTER ADD ]-------------
}
This is only a fix to the Site Map script. This is NOT a full package.
More...





LinkBack URL
About LinkBacks









Bookmarks