Hello,
I want my items with dropdown to have active ahref.
https://demo.opencart.com/
After clicking on firts item Desktop or the second one -> nothing happend. It is not user friendly.
Where can I activate that - in source code item have a href set but after clicking on the item nothing happend.
in the MENU.TWIG File, you could try, to replace:
with this:
It has been solved in older versions in a similar way.
Good Luck
Ernie
Code: Select all
<a href="{{ category.href }}" class="dropdown-toggle" data-toggle="dropdown">{{ category.name }}</a>
Code: Select all
<a href="{{ category.href }}">{{ category.name }}</a>
Good Luck

Ernie
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<id>Make Top Links Clickable</id>
<version>OS v.1.5.6.5</version>
<vqmver>2.4.1</vqmver>
<author>cyclops</author>
<file name="catalog/view/theme/*/template/common/header.tpl">
<operation error="log">
<search position="replace" ><![CDATA[<a href="<?php echo $category['href']; ?>" class="dropdown-toggle" data-toggle="dropdown"><?php echo $category['name']; ?></a>]]></search>
<add><![CDATA[
<a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
]]></add>
</operation>
</file>
</modification>
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Google [Bot] and 55 guests