Of course, whenever you refresh the cart website page and when you include a product in cart, cart aspects are despatched on data tables only if cart info in configuration is enabled. From the PrestaShop description, hooks are predefined areas in the platform exactly where you can insert personalized scripts https://addons.prestashop.com/fr/seo-referencement-naturel/30904-balises-hreflang-automatiques-et-balises-canoniques-seo.html