VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: patben on October 07, 2013, 19:25:55 PM

Title: How to display if a product is available
Post by: patben on October 07, 2013, 19:25:55 PM
I want if it possible to show in product details page a message that say that the product is available. I don't want to add availability manually i want when a product is available display "available" and where is not available "not available". I try to use stock control but it doesn't work if you choose that the product without stock can be purchased. Is any solution?

Thank you.
Title: Re: How to display if a product is available
Post by: Maxim Pishnyak on October 11, 2013, 13:46:07 PM
How do you want to mark available products?
Title: Re: How to display if a product is available
Post by: patben on October 11, 2013, 17:54:07 PM
With words similar to the system that virtuemart have now, but to work in my case.
Title: Re: How to display if a product is available
Post by: Maxim Pishnyak on October 11, 2013, 18:35:29 PM
Please check available option for marking available in product edit form. For example standard availability could be used for this, but in another way. Also reworked stock marking could be used.
Anyway for marking you should 'manually' mark available and non available products. I'm not sure what troubles you have with 'manually' operation.
Title: Re: How to display if a product is available
Post by: patben on October 11, 2013, 21:20:10 PM
I have to add it to a lot of products and when a product availability changes i have to change it manually.
Title: Re: How to display if a product is available
Post by: Maxim Pishnyak on October 12, 2013, 08:36:56 AM
So it's problem for you or what? Be more clear.

'Lot of products' means using CSVI.
Title: Re: How to display if a product is available
Post by: patben on October 17, 2013, 21:28:52 PM
Is any way to add some php code to say if product in stock is <0 or =0 display "not available" and if   product in stock is >0 display "available"?
Title: Re: How to display if a product is available
Post by: patben on December 10, 2013, 14:15:20 PM
any idea?
Title: Re: How to display if a product is available
Post by: davidacardona on March 12, 2014, 22:47:06 PM
Hi Patben, Did you manage to do this? i'm haing the same problem.

I just want that when a product is out of stock, it doesnt show the add cart button  but just show the ask for info buttpin
Title: Re: How to display if a product is available
Post by: PRO on March 13, 2014, 02:00:25 AM
Quote from: davidacardona on March 12, 2014, 22:47:06 PM
Hi Patben, Did you manage to do this? i'm haing the same problem.

I just want that when a product is out of stock, it doesnt show the add cart button  but just show the ask for info buttpin

have you looked through the virtuemart configuration?