Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 02/14/2021 :  04:10:04  
Hello,
I noticed this in the ECT manual

Preferably before your other css lines. You will also
need this line, just place it after the ectcart.css line.
Make sure you have uploaded ectcart.js to the /js/
folder
<script type="text/javascript"
src="js/ectcart.js"></script>
=======================
I have the ectcart.js placed last in the js directory but am not clear where the line
<script type="text/javascript"
src="js/ectcart.js"></script>
needs to be placed.

Thanks for any help.
John

Phil
ECT Moderator

United Kingdom
7715 Posts

Posted - 02/14/2021 :  12:13:56  
Hi John,
As long as it's before the closing </head> tag that will be fine.

Just before it will be fine like this

<script src="js/ectcart.js"></script>
</head>

If you're adding it to your dwt template file it would be like this
<script src="../js/ectcart.js"></script>
</head>



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 02/14/2021 12:14:24

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 02/14/2021 :  13:38:43  
Hello Phil,
Thanks for the answer.
As you can see I have uploaded ectcart.js to the /js/
folder but I cannot see where to place the line
<script src="../js/ectcart.js"></script>
I cannot see </head> in ectcart.js

[img]https://net100.co.uk/ecart-js.JPG[/img]

dbdave
ECT Moderator

USA
10468 Posts

Posted - 02/14/2021 :  14:03:12  
Hi John, you don't want to be editing that file.
What you are asking about is the placement of that line in your store pages.
It's probably already there, unless you have an older version of the cart.

It goes in the head section of all your store pages.

There is a thread about it here - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107040

Thanks,
David

Edited by - dbdave on 02/14/2021 14:03:36

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 02/15/2021 :  13:32:07  
Thanks Phil,
I have located the script in the template and the pages now.
Thanks both for your wonderful support.

Regards

John
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000