News:

Support the VirtueMart project and become a member

Main Menu

How to display if a product is available

Started by patben, October 07, 2013, 19:25:55 PM

Previous topic - Next topic

patben

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.

Maxim Pishnyak

How do you want to mark available products?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patben

With words similar to the system that virtuemart have now, but to work in my case.

Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patben

I have to add it to a lot of products and when a product availability changes i have to change it manually.

Maxim Pishnyak

So it's problem for you or what? Be more clear.

'Lot of products' means using CSVI.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

patben

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"?


davidacardona

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

PRO

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?