how to disable tooltip?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi,

i am using nop version 3.80.

on product detail page, when we hover on product image or other element, we see tooltip. which is basically a widget from jquey-ui-1.10.3.custom.js. but how to disable the tooltip?

any help would be appreciated.

Regards,
Vishal
7 years ago
Unless you are using a custom theme with special functionality, the text that appears when you hover over a product image can be changed by editing the product >> Pictures >> and changing the value appearing in the "Alt" column. If you want nothing to appear, leave it blank.

On the catalog pages (category and manufacturer and search results) the text that appears when you hover over the images is a derived value and can only be affected by editing the code view.
/Views/Catalog/CategoryTemplate.ProductsInGridOrLines.cshtml - approx line 80
Look for this:

<div class="picture">
<a href="@Url.RouteUrl("Category", new { SeName = item.SeName })" title="@item.PictureModel.Title">
<img alt="@item.PictureModel.AlternateText" src="@item.PictureModel.ImageUrl" title="@item.PictureModel.Title" /></a>
</div>


To remove the text that appears on hover of the images, change it to this:

<div class="picture">
<a href="@Url.RouteUrl("Category", new { SeName = item.SeName })" title="@item.PictureModel.Title">
<img alt="" src="@item.PictureModel.ImageUrl" title="@item.PictureModel.Title" /></a>
</div>



Same with the ManufacturerTemplate.ProductsInGridOrLines.cshtml and Search.cshtml in the same folder.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.