Author Topic: [solved]Remove Inventory Status?  (Read 3310 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: 10420
  • VirtueMart Version: 3+
Re: Remove Inventory Status?
« Reply #1 on: December 11, 2011, 16:24:07 pm »
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

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