Post by hzieeyong » Sat Dec 27, 2014 2:28 pm

Dear sir/madam,
http://demo.opencart.com/ from the demo site, if you click on 'desktops' or 'Laptops & Notebooks', it can not goto the its link page.
20141225142334.jpg

20141225142334.jpg (13.43 KiB) Viewed 577 times

i want this, if you move to 'Laptops & Notebooks', it shows sub menu, but if you click "Laptops & Notebooks", it goto all Laptops & Notebooks page: http://demo.opencart.com/index.php?rout ... ry&path=18

Newbie

Posts

Joined
Sat Dec 27, 2014 2:10 pm

Post by Selective555 » Sat Dec 27, 2014 5:25 pm

I agree, the "See All" link is stupid. Instead of the "See All" link, it would be better to have the head category be both for subcategory list when hovered, and for "All Subcategories" when clicked.

Does anyone know how to change this?

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by hzieeyong » Mon Dec 29, 2014 3:30 pm

does anyone could help this? why some other template could do this?

Newbie

Posts

Joined
Sat Dec 27, 2014 2:10 pm

Post by opencarthow.com » Mon Dec 29, 2014 8:18 pm

hzieeyong wrote:does anyone could help this? why some other template could do this?
This feature is useful in mobile. You can check it in your mobile.
If you want to fix it, go to catalog/view/theme/default/template/common/footer.tpl, find

Code: Select all

</body>
and add the below code before it:

Code: Select all

<script>
var $window = $(window),
	$toggle = $('#menu [data-toggle="dropdown"]');
$window.on('resize', function () {
	if ($window.width() <= 750) {
		$toggle.attr('data-toggle', 'dropdown');
	} else {
		$toggle.removeAttr('data-toggle');
	}
});

$window.trigger('resize');
</script>

Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer


User avatar
Active Member

Posts

Joined
Fri Nov 28, 2014 10:41 am


Post by opencarthow.com » Fri Jan 02, 2015 8:28 pm

Hi,
I have just created a extension to impove the top menu of OpenCart 2. You may like it: http://www.opencart.com/index.php?route ... n_id=20330.

Attachments

menu_in_desktop.png

menu_in_desktop.png (17.96 KiB) Viewed 514 times


Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer


User avatar
Active Member

Posts

Joined
Fri Nov 28, 2014 10:41 am

Who is online

Users browsing this forum: No registered users and 55 guests