
When one of the site's pages is loaded, the PrestaShop engine check
which are the modules to call for each of the hooks that make up the
page.
Here is a list of 53 hooks, available in PrestaShop.
Front-office
Homepage and general website items
Called between the HEAD tags.
Ideal location for adding JavaScript
and CSS files.
Called in the page's header.
Called when loading the left
column.
Called when loading the right
column.
Called in the page's footer.
Called at the center of the
homepage.
Product sheet
Called right before the
"Print" link, under the
picture.
Called right after the block
for the "Add to Cart" button.
Called inside the block for
the "Add to Cart" button,
right after that button.
Called inside the block for
the "Add to Cart" button,
right after the "Availability"
information.
Called right before the tabs.
Called in tabs list, such as
"More info", "Data sheet",
"Accessories"... Ideal
location for one more tab,
the content of which is
handled by the
productTabContent hook.
Called when a tab is clicked.
Comentarios a estos manuales