| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Java Script Messes With Cart | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I am trying to add a TrustLogo to my store, however whenever I add the necessary java script it screws up the cart and checkout process. If you click checkout it clears the cart and signs you off as well as many other weird things.
Code:
The script provides roll over, popup verification in the form of a small certificate. Any ideas how I can implement this without screwing up my cart?
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() It seems no matter where I put the code, it screws up the cart as described above.... This is frustrating
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#3
|
|||||||
|
|||||||
![]() I put the first part of the code in the head.tpl and the second part of the code in the poweredby.tpl and everything seems to be working fine.
BTW leave out the {literal} in the code. Version 3.5.4 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Did you use {literal} and {/literal}?
It still won't allow cart to function properly...
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#5
|
|||||||
|
|||||||
![]() Never used them, just put the code in without the {literal}
|
|||||||
#6
|
|||||||||
|
|||||||||
![]() Leaving The {literal} and {/literal} off did the trick.... \
![]() That's what I get for trying to make a simple thing complicated.
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Hey chawla@moviesandgamesonli... How come your TrustLogo verification only works on secure pages?
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#8
|
|||||||
|
|||||||
![]() Because it for www.moviesandgamesonline.com not .co.uk, so it won't work on any parked domains.
All the secure pages are on the .com so it doesn't really matter, as soon as you view your cart, register or login you go to the .com pages. |
|||||||
#9
|
|||||||||
|
|||||||||
![]() I did not even notice it was on two seperate domains
![]()
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#10
|
|||||||
|
|||||||
![]() Do you sell any 3.5. templates?
|
|||||||
|
|||
X-Cart forums © 2001-2020
|