Author Topic: [solved]Remove Inventory Status?  (Read 4834 times)

Fintan

  • Jr. Member
  • **
  • Posts: 128
[solved]Remove Inventory Status?
« 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 :)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10443
  • VirtueMart Version: 3+
Re: Remove Inventory Status?
« Reply #1 on: December 11, 2011, 16:24:07 PM »

miguelcs18

  • Beginner
  • *
  • Posts: 1
Re: Remove Inventory Status?
« Reply #2 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