Hi all
I want to hide the box that shows items in stock on the product description pages
I am using Joomla 2.5 and VM 2.6.6
http://www.caymiaskin.com/index.php/component/virtuemart/cay-mia-range/ultra-40-detail?Itemid=0
Please help
thanks
Ed
Hello,
In the current category template, comment this
<?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 }?>
Best Regards,
hellorain.
The simplest way is to add the following css
.product-in-stock {
display: none;
}
check in your template parameters for a custom css field and put the code there.
In shopfront under configuration you can find the following option:
Product Listing
Show the product navigation
Display stock level
Show product customfields in browse views
Show uncategorised parent products in search results and modules
Show uncategorised child products in search results and modules
Show products which are only in unpublished categories.
Latest Products - Number of days to display
Latest Products - Sort order of display
Kind regards,
Meton