Adding Quantity Available to products_t.tpl
I thought this would be simple, but I must be missing something. I would like to add the quantity available to the products_t.tpl page. I cut n' pasted the following code from the products.tpl thinking it should work the same way:
{$lng.lbl_quantity} {if $product.avail gt 0}{$product.avail}{else}{$lng.txt_no}{/if} {$lng.txt_items_available}
This doesn't work for some reason, it just says " No item(s) available", which is not right because if you click further into the item it displays the quantity available correctly. I think I am missing a little piece of code but can't find it. Any help?
Thanks in advance.
|