Jump to content

Show physical quantity on product list


Xurxo DZ

Recommended Posts

Hi everyone,

Maybe someone can help me with this question.

I wanted to show each product's stock in category list and it went well, but the value showed is the available stock, not the physical stock, which I want to display there. Any ideas?

PS version is 1.6.1.17

This is the line I added to product-list.tpl to show the stock:

<span class="detalles_producto"><strong>STOCK: </strong>{$product.quantity|truncate:4:''|escape:'html':'UTF-8'} UD.</span><br />

 

Link to comment
Share on other sites

  • 2 weeks later...

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...