VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: Fintan on December 11, 2011, 16:00:46 pm

Title: [solved]Remove Inventory Status?
Post by: Fintan on December 11, 2011, 16:00:46 pm
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 :)
Title: Re: Remove Inventory Status?
Post by: PRO on December 11, 2011, 16:24:07 pm
http://forum.virtuemart.net/index.php?topic=90935.0
Title: Re: Remove Inventory Status?
Post by: miguelcs18 on December 13, 2011, 00:21:34 am
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