| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||||
|
|||||||||
installing Lexity.com addon
Hi Guys,
I was having some problems installing the Lexity.com add-on to my site so I thought I'd add this in case anyone else was having problems with it as I couldn't find any help on the forums. It says to add this to just before the </head> tags. I tried adding it to my service_head.tpl file but it didn't work so I just added it directly above the </head> tag in home.tpl. Code:
Which I did but the { at the start of the java script seemed to confuse xcart. The way I fixed this was by adding in {literal} before the code and {/literal} after the code so it should look like this. Code:
This now works a treat and the software itself is quite nice to use. It isn't anywhere near as good as Google Analytics but it does have a nice user interface and is easy on the eye if you just want a quick overview of who is on your site and and what they are buying. The best thing is its Free which as i'm sure you are aware us Scotsmen like http://www.lexity.com
__________________
Live Version : 4.5.2 Licensed Products: X-Cart Gold Ability Theme CDSEO xCMS Abandoned Cart Food Packaging Scotland |
|||||||||
|
#2
|
|||||||
|
|||||||
Re: installing Lexity.com addon
David-Allan,
Thanks for the help! We have updated the instructions on our site, too. The customer/home.tpl file will be in a different directory (than skin1) based on what skin is current active, right? Amit Founder/CEO, Lexity
__________________
Developers of Lexity Live |
|||||||
#3
|
|||||||||
|
|||||||||
Re: installing Lexity.com addon
Quote:
Instead of just surrounding the JS with {literal}{/literal} you can simply replace "{" with {$ldelim} and "}" with {$rdelim}. Then you can still use smarty tags in your script.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: installing Lexity.com addon
Quote:
Thanks totaltec I didn't know about that code. Learn something new every day.
__________________
Live Version : 4.5.2 Licensed Products: X-Cart Gold Ability Theme CDSEO xCMS Abandoned Cart Food Packaging Scotland |
|||||||||
#5
|
|||||||
|
|||||||
Re: installing Lexity.com addon
in x-cart 4.6.1 i found if you add the lexity code to service_head.tpl it works when you use the literal tags
|
|||||||
|
|||
X-Cart forums © 2001-2020
|