News:

Looking for documentation? Take a look on our wiki

Main Menu

display stock image level

Started by joomlaforever, December 12, 2011, 09:33:51 AM

Previous topic - Next topic

joomlaforever

hi
where could i display stock image level? in template code?

joomlaforever

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 }?>