Scenario:
I have added the following variable on the product website to show the available stock for that product: <h1 t-field="product.virtual_available"></h1>
It is working fine while I'm logged as administrator. However it is not showing anymore when I logged as a customer (restricted profile).
Does someone have any idea how can I fix this?
Thank you in advance.
zbik, I already did this, and it is showing fine what I'm needing. The problem I'm still facing is when log in with a restricted profile, as a customer for example. When I'm loging in as administrator it is working, the problem is when I'm not loged as admin.