Hi..
I am trying to build an online shop with little or no PHP skills.. Not easy !!
I'm using OC ver.1.5.4 with it's default template.
As it stands, when you click the Category option all products within that section are displayed. So (for example) if I select menu option DRESSES, I get ALL the dresses within that section, 28 to a page x number of pages. This you can determine via admin.
BUT I want to remove the top menu bar drop downs and just use the left side menu as a direct link to sub-menus that may be called Mxi Dresses or maybe Midi Dresses.
In this way, customers get to see stock other wise not seen because thats what the top menu is doing. while left column menu allows customer direct to product type or range.
This two menu split acts as a logical filter on a basic level, while offering (I hope) maximum display of stock otherwise not seen.
Thanks to any body who may help resolve this seemingly odd request...
If I understand corectly and you wish to remove the dropdown of the top categories, edit the file catalog/view/theme/yourtheme/template/common/header.tpl , find and remove the code:
Code: Select all
<?php if ($category['children']) { ?>
<div>
<?php for ($i = 0; $i < count($category['children']);) { ?>
<ul>
<?php $j = $i + ceil(count($category['children']) / $category['column']); ?>
<?php for (; $i < $j; $i++) { ?>
<?php if (isset($category['children'][$i])) { ?>
<li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>
<?php } ?>
<?php } ?>
</ul>
<?php } ?>
</div>
<?php } ?>
Can't you just edit the categories and deselect the field that puts them in the top menu bar?
You can also adjust your categories by creating new ones with the DRESSES category as the parent... Would help to split up your items a bit better - either brand name or by MAXI DRESSES, MIDI DRESSES etc.
You can also adjust your categories by creating new ones with the DRESSES category as the parent... Would help to split up your items a bit better - either brand name or by MAXI DRESSES, MIDI DRESSES etc.
@ florinsith.. Perfect !! Exactly what I wanted.. Thank you.
@ Mealz.. I could, but that would potentially leave all sub-menus listed.. Not as I want, that the sub-menus of the selected option.. Thank yes, a good alternative approach. Thank you.
@ Mealz.. I could, but that would potentially leave all sub-menus listed.. Not as I want, that the sub-menus of the selected option.. Thank yes, a good alternative approach. Thank you.
Hi to all Gurus....
almost similar problem, althoguh my required goes even a step further. please help me ..i am moving one of my clients existing site to Opencart ..he is ok with the layout but wanted menu in the Left bar and i tried it all nothing is working for me,
i have changed the category to left on the homepage.
please seen the screenshot and Recommend me what to do!

Cheers,
Syed
almost similar problem, althoguh my required goes even a step further. please help me ..i am moving one of my clients existing site to Opencart ..he is ok with the layout but wanted menu in the Left bar and i tried it all nothing is working for me,
i have changed the category to left on the homepage.
please seen the screenshot and Recommend me what to do!

Cheers,
Syed
Life is a Gift! and it offers us the privilege, opportunity, and responsibility to give something back by becoming more......
Who is online
Users browsing this forum: No registered users and 8 guests