Insert tooltip on product description and price

  • Posts: 39
  • Thank you received: 1
11 years 5 months ago #115256

Hi,
there is a way to insert a tooltip in product description and/or prices?
Thanks

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

  • Posts: 12953
  • Thank you received: 1778
11 years 5 months ago #115261

Hi,

I think that this is possible but you'll have to use some code customization through the show_default file of your product view of your front-end template that you are currently using by editing this code which is displaying your product description :

<div id="hikashop_product_description_main" class="hikashop_product_description_main">
    <?php
    //DISPLAY the product description
    echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
    ?>
  </div>

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

  • Posts: 39
  • Thank you received: 1
11 years 5 months ago #115263

I looking for a plugin that for example allow me to insert some text of description between tag and then make a tooltip...

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #115293

Hi,

You can use any tooltip plugin, you have some of them here:
extensions.joomla.org/extensions/news-di...le-elements/tooltips

Then just use the tooltip tag i your product description and the tooltip will be displayed in frontend.

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

  • Posts: 39
  • Thank you received: 1
11 years 5 months ago #115327

Sorry,
I try it but it doesnot work...maybe I have to activate some hika tool...

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #115394

Hi,

Can you tell me which plugin you use, and give me the example of a tag use ?
Have you try to add it in a Joomla article to see if the problem come from the installed plugin or HikaShop ?

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

  • Posts: 39
  • Thank you received: 1
11 years 5 months ago #115406

Tooltip GC
No problem in Joomla content article...

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #115433

Hi there,

Maybe the plugin you are using is a content plugin, if it's the case then it can't work with Hikashop (content means joomla's article).
Try with another one, it should definitely work.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum