2

in Magento 1.9 CE, if we browse the product reviews page, it displays an error

TypeError: image.elevateZoom is not a function

This is becuase, magento is using image zoom in product page using this plugin

the JavaScript interpreter because of a failure shuts down on this page, JavaScript is not executed. This leads to decreased functionality of the page Does anyone can help me on how to remove this error so that i can us js on this page??? These guys says, they have solved the problem, but i can't get the solution.

1
  • file path is design/frontend/rwd/default/template/review/product/view/list.phtml
    – Haris
    Jul 9, 2014 at 10:25

1 Answer 1

3

I've got the same issue - not that it's a complete solution but it certainly stops the error for now, by stopping the function being called on the review page.

in the file /skin/frontend/rwd/default/js/app.js

line 649 change

image.elevateZoom();

to

if ($j('.review-product-list').length == 0) {
image.elevateZoom();
}
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.