Jump to content

Tooltip Needed


emmim44
 Share

Recommended Posts

What kind of tooltip and where? Is it something more than a title tag? The image mapping feature uses tooltips when you map a product to an image and there is a product tooltips module in PrestaShop v1.3.

Share this post


Link to post
Share on other sites

Where do you want the tooltips? The Image mapping is a subtab of the Catalog tab. It allows you to upload a banner image for a category and map parts of the image to products.

Share this post


Link to post
Share on other sites

  • 3 months later...

Hi guys,

I have been looking to get the cluetips similar to the image mapping feature onto the products-list.tpl instead of the generic tooltip. I tried adding the

>
{if isset($products)}
   <!-- Products list -->
</pre>
<ul>
   {foreach from=$products item=product name=products}


getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" />
           <!--    {if $product.new == 1}{l s='new'}{/if}{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}-->
<!--                
{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}-->


               {if $product.on_sale}
{l s='On sale!'}
               {elseif ($product.reduction_price != 0 || $product.reduction_percent != 0) && ($product.reduction_from == $product.reduction_to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product.reduction_to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product.reduction_from))}
{l s='Price lowered!'}
               {/if}

{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}

{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}

               {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2}
{l s='Add to cart'}
               {else}
{l s='Add to cart'}
               {/if}
{l s='View'}


   {/foreach}
</ul>
<br>   <!-- /Products list --><br>{/if



TO

getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" />



But it doesn't seem to work. help

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More