josiah22 Posted November 15, 2007 Posted November 15, 2007 Hi, I am trying to have only my parent categories in the left column and (based on which main category is chosen) display the corresponding subcategory in the right column. I think I need to use an if-statement with the $cPath (of the parent category). My site is here: www.angelgardens.com/catalog/index.php?cPath=21 any help would be much appreciative. Instead of using column_left.php and column_right.php, I am using my own stylesheet combined with the oscommerce stylesheet, and embedding the box calls (<?php require(DIR_WS_BOXES . 'categories.php'); ?>) in index.php. Is it possible to do something like this in index.php: if($cPath == 'path of parent category') { //then list subcategory of parent in another location preferably with another style. } Thanks for any help in advance! This forum has been an invaluable resource! -Josiah
Recommended Posts
Archived
This topic is now archived and is closed to further replies.