Jump to content

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

Adding Code To <Head>...? Rate Topic   - - - - -

 
  • Fishpaste
  • Junior Member
  • Members
  • Join Date: 11-Feb 11
  • 85 posts

Posted 14 May 2018 - 11:17 PM #1

I'm adding some to the <head> (it's to create a cookie notification banner).

 

I'm working in CS-Cart 2.x - placing the code into:
skins/my_theme/customer/index.tpl

 

After doing this I've cleared the cache by renaming the: var/cache  folder (so a fresh one is created), but I'm not seeing any change to the website. (The code has been tested so I know it's working correctly). 

 

...am I going about this the wrong way - is there another place to add code to the <head>...?

thanks



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

Posted 15 May 2018 - 07:58 AM #2

The provided solution should work. May be some addon overrides index.tpl file?


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 руб.


 
  • Fishpaste
  • Junior Member
  • Members
  • Join Date: 11-Feb 11
  • 85 posts

Posted 15 May 2018 - 08:02 AM #3

ok thanks.. I'll do some testing with a simpler piece of code to see if that works