News:

Support the VirtueMart project and become a member

Main Menu

[solved]Remove Inventory Status?

Started by Fintan, December 11, 2011, 16:00:46 PM

Previous topic - Next topic

Fintan

How can I remove the inventory status graph and text?

It doesn't line up nicely with the thumbnail and so I would prefer not to have it showing.

Thanks :)


miguelcs18

Get the file root_of_you_joomla_installation/components/com_virtuemart/views/category/tmpl/default.php then edit the line 228 and 229. You should comment both echo sentences so these two lines should be:

         228  <span class="vmicon vm2-<?php //echo $product->stock->stock_level ?>" title="<?php echo $product->stock->stock_tip ?>"></span>
         229   <span class="stock-level"><?php //echo JText::_('COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_TITLE_TIP') ?></span>

With these you strip away the line wich says "Stock Level" and the image. Greets