How do I remove "Current Stock Level" graphic and text in the category view?

Started by zippygaloo, December 30, 2011, 20:35:51 PM

Previous topic - Next topic

jenkinhill

The "Show the Ask a question link?" switch works in all my 4 J2.5.1/VM2.0.2 test sites. I dont use stock so have removed it from the templates with override.

And yes, you will initially trigger the forum anti-spam measures, which are needed.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

mexicanoo

<?php if (!VmConfig::get('use_as_catalog') && (VmConfig::get 'display_stock')) ){?>
<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 }?>


how to change "Current Stock Level" in "Out of stock" text in category view when a product is out of stock?

[attachment cleanup by admin]

changlee

Quote from: PRO on December 31, 2011, 23:52:40 PM
views/category/tmpl/default.php

Do you mean

/public_html/administrator/components/com_virtuemart/views/category/tmpl

OR

/public_html/components/com_virtuemart/views/category/tmpl ?

Quote from: mexicanoo on April 04, 2013, 20:17:42 PM
how to change "Current Stock Level" in "Out of stock" text in category view when a product is out of stock?

Did you tried the language overrides?
Free SMTP Newsletter at https://www.emailbat.com and my complete SEO services at http://www.blb.gr

jenkinhill

Why are you replying to a 1-2 year old thread about out of date versions?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum