News:

Support the VirtueMart project and become a member

Main Menu

How to hide "Items in stock" box

Started by eddyport, June 29, 2015, 14:02:10 PM

Previous topic - Next topic

eddyport


jenkinhill

As it is a commercial template you could edit the template overrides being used, but easiest solution is to use css. If you used Firebug you could work this out in about 20 seconds!  http://forum.virtuemart.net/index.php?topic=116620.0

CSS override:    .product-in-stock { display: none; }
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

Meton

As Jenkinhill stated you can change your stylesheet row 513 in present-style-1.css.

.product-in-stock {
    background-color: #e6e6e1;
    color: #859c0e;
    display: none;
}

Please be aware hiding a element does not remove it. Google will still index the page without the css. If you want to firmly remove it via your templates.

Kind regards,

Meton
Joomla!         3.6.5
VirtueMart     3.0.18

jenkinhill

Quote from: Meton on July 06, 2015, 23:01:09 PM
As Jenkinhill stated you can change your stylesheet row 513 in present-style-1.css.

NO. That code should be used in a css override so it does not get overwritten duing an update. Updates are issued for templates as well as other extensions.
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