Where is </body> tag?

Hello

I am trying to place some js script for an application I wish to launch on my side

The application wants me to add the code where the tag is

Can someone share which file this is in?

You can add the code on Design > Layouts > Layouts under default layout

image

Or simply use → Custom Code - Free CS-Cart Add-on by HungryWeb.net

I hope the above is useful to you.

Hi i believe this is the tag. I tried to add it here but it didnt work.

Try to put it between <body> .. </body>

add-on will help you to add it in the right position

if is a script code to be sure will remain the you will need to add data-no-defer

#before

<script src="..."></script>

#after

<script src="..." data-no-defer></script>

Use the index::body hook here

design/themes/responsive/templates/index.tpl

with “tag js” do you refer to Google Tag Manager ?

No it is another application

Hi!

Please check this article:
https://docs.cs-cart.com/latest/user_guide/look_and_feel/changing_attributes/add_custom_js_code.html

1 Like