Last Updated 11 months ago
How to show stocks and warehouses on product page?
Go to PShow Advanced Stocks Module configuration:Next, in main settings please enabne to display warehouses on products page, and save it:
Go to your template file:
themes/theme-name/templates/catalog/product.tpl
Add shis hook:
{hook h='displayWarehousesList' id_product=$product.id}
In this place (or where you want to display stocks):
Save your file, refresh cache / compilation. Done :-)