Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.
You are not logged in.
So I've played around with how list items get displayed. But I can't seem to find out the products stock.
To get the other basic information I use this: {$_product.price_str}, so naturally I tried {$_product.stock_str}. But it doesn't work.
I also tried:
{if $product_info.ordering_available && $product_info.Price>0 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) }
Stock: yes
{else}
Stock: no
{/if}Which also doesn't work. All I need to do is get a "yes" or "no" (or true/false) answer to wether stock is available for that particular item from the list.
Any ideas?
Offline
Add the following string to your template:
{debug}This will open a pop-up window when you try to open a page. All available variables will be displayed in that pop-up window.
Offline