need to add code for first page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 года назад
hi i need to add few codes for Facebook and google in homepage
i already used installed version in the website so how can i find home page and edit it.?
2 года назад
The home page is \Views\Home\Index.cshtml
You probably want to look at \Nop.Web\Views\Shared\_Root.Head.cshtml
There are Facebook codes on the Product Template
For example Views\Product\ProductTemplate.Simple.cshtml

If you are using a theme then look at the files in the Theme directory
2 года назад
HI there is some plugin provided by nopcommerce as facebook pixel you can refer this
https://www.nopcommerce.com/en/facebook-pixel-by-nopcommerce-team
but if you need to add  script directly then you can add in this path
Themes > views > Shared>head.cshtml

add script in the head.cshtml

Thank you
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.