Jump to content

How to show product quantities in product-list.tpl


Recommended Posts

in product list I want to show the number available if quantities is <12

it need to be inserted

at ~line 191 in product-list.tpl

<span class="label-warning">
{l s='Warning: remaining stock : '}&nbsp{$product->quantity}
</span>

 

but $product->quantity must be  empty because nothing is displayed.

 

im new to this :

is it wrong attribute ?

it need some SQL to make the stock number available  ?

something else  ?

 

thanks for any pointers

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...