Author Topic: display stock image level  (Read 2522 times)

joomlaforever

  • Beginner
  • *
  • Posts: 42
display stock image level
« on: December 12, 2011, 09:33:51 am »
hi
where could i display stock image level? in template code?

joomlaforever

  • Beginner
  • *
  • Posts: 42
Re: display stock image level
« Reply #1 on: December 12, 2011, 14:04:23 pm »
manualy by deleting this code in components\com_virtuemart\views\category\tmpl/defautphp?

Quote
<?php if (!VmConfig::get('use_as_catalog')){?>
                  <div class="paddingtop8">
                     <span class="vmicon vm2-<?php echo $product->stock->stock_level ?>" title="<?php echo $product->stock->stock_tip ?>"></span>
                     <span class="stock-level"><?php echo JText::_('COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_TITLE_TIP') ?></span>
                  </div>
                  <?php }?>