New Zenner
- Join Date:
- Oct 2010
- Posts:
- 6
- Plugin Contributions:
- 0
2 questions. please help!
Please see the attached image!
Problem #1.
I want to remove those top and bottom box images and the text "Categories" from the navigator. (but i don't mean i want to remove those sidebox images for other sideboxes. Only for navigator.)
$content = "";
$categories_tree = $_SESSION['category_tree']->retrieveCategoriesTreeArray();
/* echo "<pre>";
print_r($categories_tree);
echo "</pre>";*/$is_first = true; $cat_first = " catFirst";
foreach($categories_tree[0]['sub_cats'] as $sub_cat){
if('no_sub' == $categories_tree[$sub_cat]['sub']){
$content .= '<div class="parentCateLink'.$cat_first.'"><a href="?main_page=index&cPath='.$categories_tree[$sub_cat]['path'][0] .'">' . $categories_tree[$sub_cat]['name'] . '</a></div>';
}else{
$content .= '<div class="parentCate'.$cat_first.'"><a href="?main_page=index&cPath='.$sub_cat .'">' . $categories_tree[$sub_cat]['name'] . '</a></div>';
$content .= $_SESSION['category_tree']->buildCategoryString('<ul class="{class}">{child}</ul>', '<li class="{class}"><a class="{class} category-top" href="{link}"><span>{name}</span></a>{child}</li>', $sub_cat, 2, 1, false, true);
}
if($is_first){$is_first = false; $cat_first = "";}
}
I guess this is the source for the navigator..what shall i change?
Problem #2.
I do not see quantity box in the cart, which means a customer can not update the quantity of the purchse in the cart page..but there's update button in the cart.
Please help..I could remove images for the box in css file, but if i do that, other sideboxes lose their box image as well..