Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add javascript code to <head>

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-08-2010, 10:27 AM
 
moniquelynn moniquelynn is offline
 

Member
  
Join Date: Jun 2007
Posts: 12
 

Default Add javascript code to <head>

Stupid question I know...but I'm drawing a blank today.

Could someone tell me where to go if I want to add some javascript code to the <head> area of my site?

Version 4.2.3

Thanks
__________________
X-Cart Gold 4.2.3
Reply With Quote
  #2  
Old 01-08-2010, 10:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Add javascript code to <head>

customer/home.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-08-2010, 10:36 AM
 
moniquelynn moniquelynn is offline
 

Member
  
Join Date: Jun 2007
Posts: 12
 

Default Re: Add javascript code to <head>

Thanks!

I was looking in customer/head.tpl. LOL
__________________
X-Cart Gold 4.2.3
Reply With Quote
  #4  
Old 03-04-2013, 08:30 AM
 
andrewmattress andrewmattress is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 39
 

Default Re: Add javascript code to <head>

Can someone tell me how I add code to <head> for the cart? I've got it in for the rest of the site, but it's not showing up on the cart pages.

Thank-you!
__________________
JK
X-Cart version 4.7
We have about lots of add-on modules.
Reply With Quote
  #5  
Old 03-04-2013, 08:42 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Re: Add javascript code to <head>

Quote:
Originally Posted by andrewmattress
Can someone tell me how I add code to <head> for the cart? I've got it in for the rest of the site, but it's not showing up on the cart pages.

Thank-you!

Are you looking to do this in v4.1.10?
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote

The following user thanks chamberinternet for this useful post:
andrewmattress (03-05-2013)
  #6  
Old 03-04-2013, 09:26 AM
 
andrewmattress andrewmattress is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 39
 

Default Re: Add javascript code to <head>

Quote:
Originally Posted by chamberinternet
Are you looking to do this in v4.1.10?

Correct. SOrry I didn't clarify. Thank-you!
__________________
JK
X-Cart version 4.7
We have about lots of add-on modules.
Reply With Quote
  #7  
Old 03-04-2013, 10:56 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Add javascript code to <head>

If using FLC it has its own home.tpl - chekc in modules
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
andrewmattress (03-05-2013)
  #8  
Old 03-05-2013, 05:10 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Re: Add javascript code to <head>

Correct ... /skin1/modules/Fast_Lane_Checkout/home.tpl
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote

The following user thanks chamberinternet for this useful post:
andrewmattress (03-05-2013)
  #9  
Old 03-05-2013, 08:10 AM
 
andrewmattress andrewmattress is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 39
 

Default Re: Add javascript code to <head>

That's where it needed to be. Thanks so much!
__________________
JK
X-Cart version 4.7
We have about lots of add-on modules.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:15 AM.

   

 
X-Cart forums © 2001-2020