Home › Forums › WoodMart support forum › Tooltip Error
Tooltip Error
- This topic has 6 replies, 3 voices, and was last updated 7 years, 1 month ago by
Artem Temos.
-
AuthorPosts
-
October 24, 2018 at 9:47 am #84716

PoliSafety ITParticipantHello,
In Theme Settings – Product Styles if you have selected the “Icons on hover” selection, the following code is shown in the tooltip.
Is there a way to hide the tooltip until this issue is resolved?EDIT: To clarify, this happens only for the “Add to Cart” tooltip.
Attachments:
You must be logged in to view attached files.October 24, 2018 at 10:04 am #84726
Elise NoromitMemberHello,
Please deactivate all the third parties plugins not related to the theme and check the issue once more.
Best Regards
October 24, 2018 at 10:35 am #84742
PoliSafety ITParticipantThe issue is caused by the Enhanced Ecommerce Google Analytics code but this should not shown up in the tooltip.
October 24, 2018 at 10:59 am #84751
PoliSafety ITParticipantI think I found the issue.
Enhanced Google Analytics code is injected directly in the add to cart button so it can track when a customer adds a product to cart (see attached screenshot).
But the theme instead of reading just the<a>or<span>; DOM element to get the tooltip text, it reads the whole button.Attachments:
You must be logged in to view attached files.October 24, 2018 at 11:13 am #84756
Artem TemosKeymasterThis code shouldn’t be added there but put somewhere in the footer instead.
October 24, 2018 at 11:19 am #84762
PoliSafety ITParticipantI agree, neither the code should be there but nor the tooltip should read the whole button content.
I believe it’s added there because the Enhanced Ecommerce code tracks several buttons and that resolves any possible conflicts.
The plugin is published by the Woocommerce team. You can speak to them directly if you think the it’s their issue to resolve.At the moment is there a work around?
October 24, 2018 at 11:25 am #84768
Artem TemosKeymasterTry to contact plugins developers for help in this situation. They should use
wp_add_inline_scriptto place the script to the footer. Unfortunately, we can’t change how the tooltips work there. -
AuthorPosts
- You must be logged in to create new topics. Login / Register
