Author Topic: New tooltip not functioning  (Read 4357 times)

Offline AzidVurn

  • Newbie
  • *
  • Posts: 38
  • Karma: +3/-4
  • Common sense is not common.
    • View Profile
New tooltip not functioning
« on: April 25, 2014, 04:54:20 AM »
<div class="thumbnail">
               <?php if ($product['special']) { ?>
                  <span class="sale tooltip-test"><?php echo $text_sale_label; ?></span>
               <?php } ?>
               <?php if ($product['new_products']) { ?>
                  <span class="new tooltip-test"><?php echo $text_new_label; ?></span>
               <?php } ?>
               <a href="<?php echo $item['info_url'] ?>"><?php echo $item['image'] ?></a>

I tried differnt ID: 'latest', 'latest products', etc... nothing works. What seems to be the problem. What triggers this tooltip to work?

TIA
The bezt things in life iz free, but i will feel better if I steal it from "you".

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: New tooltip not functioning
« Reply #1 on: April 25, 2014, 10:27:18 AM »
Showing new products icon is a reserved functionality, since 'new_product' flag in NOT set in the controllers.
There is question what to consider new product. This will require creating a setting to identify new products. 
Possibly have this setting for date range or something.

If you want to change it you need to set 'new_product' flag in following controllers:
https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/controller/pages/product




Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod