VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cgerraty on December 15, 2021, 03:52:32 AM

Title: Help Req: Remove/Change "Stock Availability" & Enabl Ordering
Post by: cgerraty on December 15, 2021, 03:52:32 AM
Hello All,

This may have been covered before but I still haven't found a solution that works yet.

I want to hide the "Stock Availability:" from the listings or at least change any positive numerical value to "In Stock" and also enable the ORDER button for anything that is out of stock to replace the Add to cart.   Or allow it to add the product  to the cart as a BACK ORDERED item.


There are options in the Virtuemart configuration to enable and disable the stock availability but these have NO effect.  There is an option for Zero stock items to be orderable but no order buttion is displayed.  I have seen many posts of people having the same issue.

Most of the solutions I have seen refer to PHP files that don't exist it ask to add / change code that I can not find anywhere.    Most likely the code has changed over different versions.


Below are the current site information:

Virtuemart:     VirtueMart 3.8.9 10473
PHP Version:      7.4.26
Joomla! Version:      Joomla! 3.10.4 Stable [ Daraja ]
Joomla! Platform Version    Joomla Platform 13.1.0 Stable [ Curiosity ]

Any help would be greatly appreciated !

Chris.
Title: Re: Help Req: Remove/Change "Stock Availability" & Enabl Ordering
Post by: Jörgen on December 15, 2021, 08:39:42 AM
What template are you using ?

Jörgen