| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
fts_instant_product_search.js error | |||
|
|
Thread Tools |
#1
|
|||||||||
|
|||||||||
fts_instant_product_search.js error
Working on a client site, I discovered that if you remove the search form from your templates, you start getting javascript errors if you are using the fts_instant_product_search feature. The errors can be fixed by adding a line to the fts_instant_product_search.js file:
FIND: Code:
It should be the last line of the file. BEFORE ADD: Code:
That will stop the init function for the search javascripts from being called if there's no search form on your page.
__________________
www.brettbrewer.com Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more. |
|||||||||
#2
|
|||||||
|
|||||||
Re: fts_instant_product_search.js error
Isn't fts an add-on? If so, isn't it a bug with the add-on and not X-Cart?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
Re: fts_instant_product_search.js error
It's not a bug on either, Mr Brewer just breaking our stuff
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#4
|
|||||||
|
|||||||
Re: fts_instant_product_search.js error
Heh. Moving to Third Party Add-Ons
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|