brad-w Posted July 21, 2010 Share Posted July 21, 2010 Hey everyone, I made a custom skin for my shop and it works great. I then installed a fresh version of Prestashop on a new server, copied the skin over and it works great as well except for three problems...1) Product Page - module for scrolling through products in the same category doesn't scroll (JS problem?)2) Product Page - module for shopping cart displays collapsed mode (I removed the option for users to expand and collapse the cart, it should just stay expanded... [EDIT: This only happens on the product information pages, all other pages on the entire website display expanded mode]3) My custom B2B "Cash on Delivery" module gives me an error saying this page does not exist after I agree to the terms of service. I don't know if this is a problem at all but the URL on the error page has an extra / on it. (IE. products//modules/cashondelivery/validation.php )Do you have any insight as to why taking a full site and copying it to a new server would cause errors like these? Is there a cache I need to rebuild or anything? I've tried uninstalling and reinstalling the modules but it didn't work. Let me know if there is anything I've over looked.Thanks a lot,Brad Link to comment Share on other sites More sharing options...
brad-w Posted July 22, 2010 Author Share Posted July 22, 2010 Further to this post, I've discovered a possible source of the error but I'm not sure how to fix it.On line 327 of product.js it says "Uncaught TypeError: Object# has no method 'serialScroll'This error does not occur on the other version of the website, even though the files are the same. I'm not sure if this will fix the problem but I figure it's definitely worth a shot. Can anyone help out? Link to comment Share on other sites More sharing options...
trajanstudio Posted July 23, 2010 Share Posted July 23, 2010 Hey everyone, I made a custom skin for my shop and it works great. I then installed a fresh version of Prestashop on a new server, copied the skin over and it works great as well except for three problems...1) Product Page - module for scrolling through products in the same category doesn't scroll (JS problem?)2) Product Page - module for shopping cart displays collapsed mode (I removed the option for users to expand and collapse the cart, it should just stay expanded... [EDIT: This only happens on the product information pages, all other pages on the entire website display expanded mode]3) My custom B2B "Cash on Delivery" module gives me an error saying this page does not exist after I agree to the terms of service. I don't know if this is a problem at all but the URL on the error page has an extra / on it. (IE. products//modules/cashondelivery/validation.php )Do you have any insight as to why taking a full site and copying it to a new server would cause errors like these? Is there a cache I need to rebuild or anything? I've tried uninstalling and reinstalling the modules but it didn't work. Let me know if there is anything I've over looked.Thanks a lot,Brad 1) Product Page - module for scrolling through products in the same category doesn't scroll (JS problem?)I too installed a new version of prestashop 1.3 and now the products in same category javascript no longer works, on my clients website. This was working just fine, with the previous version of prestashop. Is this a bug? How can we fix this issue?thanks Link to comment Share on other sites More sharing options...
anodyne Posted December 26, 2010 Share Posted December 26, 2010 Was this problem ever solved? I just recently installed the newest version of Prestashop, and now I'm having the same problem. Link to comment Share on other sites More sharing options...
Pinkloveshy Posted April 11, 2011 Share Posted April 11, 2011 Has anyone managed to solve this one as I have exactly the same issueAny help on this would be greatly appreciatedMany thanksPinkloveshy Link to comment Share on other sites More sharing options...
Gatix Posted April 18, 2011 Share Posted April 18, 2011 I'm having the same problem, please help. Link to comment Share on other sites More sharing options...
Gatix Posted April 18, 2011 Share Posted April 18, 2011 I found out that this happens only when a product has more than 3 photos, whereas it creates a slider for the rest of the photos.Homepage - WORKINGhttp://www.gatmanuel.com/pixelpro/iPod Shuffle - 4 photos - NOT WORKINGhttp://www.gatmanuel.com/pixelpro/product.php?id_product=2Macbook Pro - 3 photos - WORKINGhttp://gatmanuel.com/pixelpro/product.php?id_product=6 Link to comment Share on other sites More sharing options...
Gatix Posted April 22, 2011 Share Posted April 22, 2011 Bump.After days of researching, still no luck. I have no knowledge of javascript. Please help, thank you. Link to comment Share on other sites More sharing options...
Gatix Posted April 22, 2011 Share Posted April 22, 2011 I have solved this problem, the culprit seems to be the tax rate on products.jsI just commented it out since I won't be using that function. Link to comment Share on other sites More sharing options...
presta-dyr Posted April 24, 2011 Share Posted April 24, 2011 Hi Gatix,I just had a look at your shop with Firefox and Firebug. I can see there is a JavaScript error in js/product.js line 282. The variable 'taxRate' is not defined. I can see in your product.tpl that you have commented the line with taxRate and jqZoomEnabled. I suggest you change the taxRate line to: var taxRate = {$product->tax_rate|floatval}; /Kjeld Link to comment Share on other sites More sharing options...
Berlindoor Posted November 17, 2011 Share Posted November 17, 2011 bump I'm running into this bug too Link to comment Share on other sites More sharing options...
tu-br Posted January 21, 2013 Share Posted January 21, 2013 Uncaught TypeError: Object# has no method 'serialScroll is most likley caused by doubled javascript imports in the head not by the above answers. I had jQuery imported twice. Inspect page's head. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now