I am using Joomla 3.9.1, PHP 7.2 and Virtuemart 3.4.2.
The tooltip in custom multivariant fieldsdisplayed in product descriptions shows formatting information as well as the tooltip text. The incorrect display always has the same format - see below:
<strong>Custom Field Title</strong><br/>Tooltip Text.
Of course, the Custom Field Title should not be displayed before the Tooltip, but at least the fault symptoms are consistent.
I have read numerous previous posts regarding similar problems but it seems modifications were made to correct the problem. I have also read that this problem can be caused by jQuery conflicts.
Any comments would be appreciated.
Am I the only Virtuemart-user suffering from this problem?
Some live site to verify the problem ?
Thanks for your reply.
This is a development site living in a subfolder of an unrelated site! To reach the page it is first necessary to login using USN "VMtest" and PW "VMtest" at the bottom right of the home page - ie: http://openphotographicsociety.org/jadance/index.php
The problem can then be seen at : http://openphotographicsociety.org/jadance/index.php/classes-details/fees/ballet/grades-1-4
Any comments welcomed,
Thanks
I didn't try to add a tooltip, but the setting in my screenshot below works. In your case I think you can also omit the tooltip if you change the label for example to 'Select size'. In my opinion it doesn't make a lot of sense to duplicate the product name in the tooltip.
Thanks for your reply.
It is interesting that your example shows in the custom field "<strong>text</strong>" but does not display an incorrect tooltip, but in my case the entry is "text" but displays as "<stong>text</strong>". It makes me feel that I am missing something quite basic here!
Also, I note that when "Show Title" is set to "No" in the custom field, no tooltip blue button or text is displayed at all.
I would like to use the tooltips although, because of the problem, I have not yet troubled to set them up with relevant text etc. No point if it is not going to work.
how is the <strong>text</strong> saved in the DB? which encoding etc?
When you look at the source code of the display I assume its <strong> etc?
Thanks again for you reply.
Here is an examle of the page source for one of the tooltips:
<span class="hasTooltip" title="<strong>Black Capezio Leotard</strong><br />Select size">
Strangely, I cannot find the tooltip text stored in the database (ie databasename_virtuemart_product_customfields). However, the tooltip text is stored as " text utf8_general_ci"
OK, I found the tooltips stored in databasename_virtuemart_customs. They are stored as plain text - ie "Select size" with no HTML tags.