VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Fintan on November 10, 2011, 10:19:11 AM

Title: Remove stock level information
Post by: Fintan on November 10, 2011, 10:19:11 AM
Hello, I would like to remove the stock level information the the product page on my site.

maybe I am blind but I could not find an active / deactivate feature anywhere.

Edit: VM version "M"
Title: Re: Remove stock level information
Post by: dpodesta on November 10, 2011, 12:24:57 PM
Hi

I removed it in the views.

save the default view and create one with your own name eg my views. then you can comment out anything you don't want.

In components folder.
Title: Re: Remove stock level information
Post by: PRO on November 10, 2011, 14:49:45 PM
http://forum.virtuemart.net/index.php?topic=90935.0
http://forum.virtuemart.net/index.php?topic=92756.0
Title: Re: Remove stock level information
Post by: mpulse on February 02, 2012, 23:04:14 PM
So your saying this can only be edited in code?
We cannot remove the front end stock level picture and stuff without hacking core php?

I mean I would believe, that you could un-check a box or something to remove it.
Title: Re: Remove stock level information
Post by: Limonbay on February 02, 2012, 23:35:51 PM
I am almost sure that you can uncheck a box to prevent stocks from being showed, but let me do some research...
Title: Re: Remove stock level information
Post by: mpulse on February 03, 2012, 12:39:45 PM
Please do, I cannot find it
Title: Re: Remove stock level information
Post by: mpulse on February 08, 2012, 01:23:09 AM
Any luck on this? 
Title: Re: Remove stock level information
Post by: dpodesta on February 08, 2012, 22:22:57 PM
No, there is no check box or deactivate feature.

You need to FTP into your site files, go to components/ com_virtuemart/ views/ category /template, to change category layout.

Download the default.php, rename it and then look for the div tag that mentions stock levels and delete it.

You'll need to get used to doing this anyway as the default design for virtuemart is pretty ugly.
Also refer to banquets post above as he has listed all of the different code in the links.

David