Jump to content

java scripts not work some place


Recommended Posts

You really should give some more info - like link to website, from what version did you update to what version, are you using custom theme...

And most likely some error is causing all javascript problems and why ajax cart doesn't work


using Custom Theme only

version upgrade From 1.3.1 to Version 1.3.2.3



add to cart buttom works with ajax effect


also i attached image

34070_kvM4juvxhLLe0E7gyEwy_t

Link to comment
Share on other sites

Felix suggested that you replace

href="[removed]{ldelim}{rdelim}" 


with

href=”#more_info_block” 


to bypass javascript, and original code is in js/product.js

    //catch the click on the "more infos" button at the top of the page
   $('div#short_description_block p a.button').click(function(){
       $('#more_info_tab_more_info').click();
       $.scrollTo( '#more_info_tabs', 1200 );
   });



And like I said maybe some other error on page breaks all javascript.
So if you are working on local server use Google Chrome inspect element tool to find errors on product page.

Link to comment
Share on other sites

Failed to load resource: the server responded with a status of 404 (Not Found) pluginDetect.js
Uncaught ReferenceError: PluginDetect is not defined 164-fenix-key.html:966


These are errors from Chrome, so find where pluginDetect.js is declared - think it is in footer and check is it correct path to file.
Link to comment
Share on other sites

It isn't in footer.tpl but in some module that is hooked into footer.
Check Back Office >> Modules >> Positions , footer section and see what modules are there.
Then check each modules tpl file.




Only these 3 modules in footer

Data mining for statistics v1.0
This module must be enabled if you want to use Statistics

blockvariouslinks Footer links block v0.1
Displays miscellaneous links (generally in footer)

attributewizardpro Attribute Wizard Pro v1.2
Customized the displays of product attributes, override product combination and create unlimited custom attributes.



I checked in this module all tpl files

I cannot find that pluginDetect.js file

is there any help pls
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...