Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Adding *.js "howto" Rate Topic   - - - - -

 
  • Poseidonas
  • Advanced Member
  • Trial users
  • Join Date: 01-Feb 16
  • 55 posts

Posted 02 February 2016 - 11:49 AM #1

Hello, 

 

Want some help here.

 

Trying to add the following code:

<script src="//code.tidio.co/xxxxxxxxxxxxxxxxxxxx.js"></script>

were is just a chat channel for support. I'm at 4.3.5 version and I need to know were can I add that line inside <head>.

 

Thanks!



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19791 posts

Posted 02 February 2016 - 03:48 PM #2

Use the following file:

 

design/themes/YOUR_THEME/templates/addons/my_changes/hooks/index/meta.post.tpl

 

Do not forget to enable My changes module and clear cache


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Poseidonas
  • Advanced Member
  • Trial users
  • Join Date: 01-Feb 16
  • 55 posts

Posted 03 February 2016 - 02:58 PM #3

Use the following file:

 

design/themes/YOUR_THEME/templates/addons/my_changes/hooks/index/meta.post.tpl

 

Do not forget to enable My changes module and clear cache

 

Thanks for response!

I make some alchemy tricks probably. It works fine in every page with that way:

 

I paste the code on Page option in HTML field and I choose paste to every page. Is that right or I have to do with your way?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19791 posts

Posted 04 February 2016 - 08:51 AM #4

Thanks for response!

I make some alchemy tricks probably. It works fine in every page with that way:

 

I paste the code on Page option in HTML field and I choose paste to every page. Is that right or I have to do with your way?

 

You can use both ways. Anyway you changes will not be cleared after the future upgrades 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.