PDA

View Full Version : Hide Categories with category cache



michael_s
03-12-2015, 11:05 AM
Discovered an installation instruction error for the admin/categories.php file. As written you cannot select hidden categories from the pull down menu when you should always be able to do so on the admin side. The solution is to find all four instances of:

build_category_pull_down_from_cache(array(array('i d' =_ 0, 'text' =_ TEXT_TOP)))

that were placed in the file and change them to:

build_category_pull_down_from_cache(array(array('i d' =_ 0, 'text' =_ TEXT_TOP)), false, false, true)

Complete install with revised instructions included.

More... (http://addons.oscommerce.com/info/8921)