0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_GIFTS); $breadcrumb->add(GIFTS_NAVBAR_TITLE, tep_href_link(FILENAME_GIFTS, '', 'NONSSL')); require(DIR_WS_INCLUDES . 'template_top.php'); // default page ?>
Find the right gift at the right price.
Create a personalized keepsake pendant.