for the order confirmation page I have create this file:
and added some script like so:
for the product page I have create this file:
but unfortunately this do not show up on top header page but in the middle, even with "data-no-defer" added according to the documentation.
Any one know exactly what files I need to use to add the script for this?
Thanks for any help.
In this case use index:head_scripts hook and check location by $runtime.controller and $runtime.mode
Perfect, thank you very mush for you help!