I tried the first portion you have for our cart. I want to have the root category in my flyout menu showing, and to eliminate the page that goes with that root category that has the list of sub category names and number of products in each category. This may be an issue for our flyout mod as we don't want the root category to return a page, but only the sub-category and sub-sub category as clickable that returns a page.
Do you have any suggestions?
Quote:
Originally Posted by shorelineoftahoe
Actually, it's really easy.
in products.php modify this line:
$search_data["products"]["search_in_subcategories"] = "";
to
$search_data["products"]["search_in_subcategories"] = "Y";
If you want to show all products in all subcategories on the home page you need to modify these lines in home.php:
if (!empty($cat))
include "./products.php";
to
#if (!empty($cat))
include "./products.php";
That's all. I haven't tested this too much so I don't know about unforeseen consequences. I'll refer back if there is a problem.
|