Google Tag Manager

Thursday, April 25, 2024 12:42:40 AM
  • Posted: Monday, November 23, 2020 12:52 PM
  • 137
Hi everybody,

If I want to create a new template for a product, where can I add <head> script please only for this template ?
0
  • Posted: Tuesday, November 24, 2020 7:15 AM
  • 953
Hi Laurent,

If you want to create an independent template for single product, with independent <head> section, you would need to create also new Layout cshtml file, like _ColumnsOne.cshtml, it's in the Shared directory. then _Root.cshtml, and finally _Root.Head.cstml file. In the _Root.Head.cshtml file, you will find the whole <head> section. Is this what you were looking for?
Best regards,
Patryk

GrandNode Team
0
  • Posted: Tuesday, November 24, 2020 2:17 PM
  • 137
Thanks very much, ok for me :)
0
back to top
Filters