Stock Control, show how much is available on the order page

Started by Danny, March 14, 2015, 09:23:17 AM

Danny

For products you can enable the stock control, what is a nice feature. But on the product site it will not show how much is still available, so my question is, is someone knowing what to add on the order page template to show this there, that the customer can see only 5 available or something like this.
regards
Danny

BRJP

Thats a good question.  I have not used the stick control function as of yet so will need to look into this.

The stock level details must be recorded somewhere in the database so its a matter of either finding the HB function/syntax or creating one yourself if not included.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

Danny

For some things the stock control is useful for me. As Example if you want to provide 5 test VPS you can set this with the stock control and the customers can see how much are available and only these 5 can be ordered then.

But i don´t know the variable to add this on the template.
regards
Danny

BRJP

Quote from: Danny on March 14, 2015, 09:33:45 AM
But i don´t know the variable to add this on the template.

Its possible that there isn't one.  I need to speak to my developer and see what he says.  I don't think the issue is complex to fix if there isn't a current vairable.  However, it will take time to diagnose and create one within the design. 
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

BRJP

Danny - I have emailed my Developer but he may not respond to Monday,  Ill let you know as soon as he comes back.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

Danny

regards
Danny

hbillclient

Hi,

Danny, use {$product.qty} which stores the value for stock quantity.

You can use something like this in your order page template:

(Available:{$product.qty})

Thanks.

Danny

regards
Danny

hbillclient


Danny

regards
Danny