News:

Support the VirtueMart project and become a member

Main Menu

Disable Product Availability

Started by komir, July 04, 2016, 19:44:16 PM

Previous topic - Next topic

komir

Hi, how can disable display
-Product Availability

in product display?
Thank you

jenkinhill

See http://forum.virtuemart.net/index.php?topic=128401.0

If using a recent VirtueMart version with default templates and you are asking about the category product display them deselect "Display stock level" in Configuration/Shopfront/Product Listing
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

MagikCommerce

Hello komir,

In file /components/com_virtuemart/views/productdetails/tmpl/default.php following stockhandle code is written and its path is /components/com_virtuemart/sublayouts/stockhandle.php

           <?php
                     
.....

                     echo 
shopFunctionsF::renderVmSubLayout('stockhandle',array('product'=>$this->product));
                    .....
           
?>



In case of template overridation, use overrided file as /templates/selected_template/html/com_virtuemart/productdetails/default.php

Regards,
MagikCommerce