Hidden not mapped category???
Submitted by marco.saiu on Sat, 2011-02-19 05:46.Price Tapestry
Hello David,
is possible hidden all category if not mapping?
In the first step original category (feed category are hiddent for public site) and show only mapped category.
Thank's
Marco S.
Hi Marco,
Sure - you could simply change categories.php to use the category mapping table instead of the products table. In that file, look for the following code at line 6:
$sql = "SELECT DISTINCT(category) as category FROM `".$config_databaseTablePrefix."products` ORDER BY category";...and REPLACE that with:
$sql = "SELECT name as category FROM `".$config_databaseTablePrefix."categories` ORDER BY category";Cheers,
David.
--
PriceTapestry.com