Skip to main content

Home menu icon multiplies when hikashop filter triggers

5 years 6 months ago #332734 by verzevoul
-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.26

Hi!

Something strange happens, in home menu item i use a uikit icon via this class "add-icon-home", when i search or check a hikashop filter this icon multiplies more and more. Is this coming from hikashop?

Thank you

Please Log in or Create an account to join the conversation.

5 years 6 months ago #332736 by nicolas
Hi,

The issue comes from your template. When we refresh the different areas of the page in AJAX (with tmpl=raw), the template adds some of its javascript to add that icon:
i.imgur.com/QECteg3.png
There are several ways this could be fixed:
- modify the javascript adding the icon to replace the HTML instead of adding
- modify the javascript adding the icon to only add it if it's not already there
- add that javascript only when the tmpl parameter is empty in $_REQUEST
Any of these three solutions need to be implemented in the template so you'll have to your template support.
The following user(s) said Thank You: verzevoul

Please Log in or Create an account to join the conversation.

Time to create page: 0.047 seconds
Powered by Kunena Forum