Last Updated 24 days ago

How to show stocks and warehouses on product page?

Go to PShow Advanced Stocks Module configuration:

image

image

Next, in main settings please enabne to display warehouses on products page, and save it:
image

image


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):

image

Save your file, refresh cache / compilation. Done :-)

Please Wait!

Please wait... it will take a second!