Hi guys,
I can't access at the StockLocations Loop in the ProductList but in the product detail it appears.It seems that the loop is not triggered by the template.
DW version: 8.8.0.2
Thanks,
Best regards,
António Ramos
Hi guys,
I can't access at the StockLocations Loop in the ProductList but in the product detail it appears.It seems that the loop is not triggered by the template.
DW version: 8.8.0.2
Thanks,
Best regards,
António Ramos
The loop is only available in the product detail for performance reasons.
Hi Nicolai,
Thanks for you answer.
We want to have in the product list the stock available in all locations so we are using the tag "Ecom:Product.AvailableAmount". But this tag is always returning zero (i think it's the stock in the first location) this shouldn't retrieve all the stock available?
Best regards,
António Ramos
It will not look at the locations. It looks at the products overall stock state - reserved amount.
Hi Nicolai,
Thanks for the clarification. So how can i get the stock sum from all locations in the product list?
Best regards,
António Ramos
Custom code only. Be aware of performance.
You must be logged in to post in the forum