I am also facing same problem. YITH plugin developer, please us out with this problem.
My project is incomplete only because of this issue.
Hi,
If it’s any help to you, I too was having a problem with YITH Woocommerce Zoom. However, after checking the browser console and a few other things, I realised the problem was with my Minify plugin for CSS and JS.
I had Better WordPress Minify installed and configured. Once I disabled Better WordPress Minify, the zoom plugin was working again.
Regards,
Sam
I solved this problem in this way
/wp-content/plugins/yith-woocommerce-zoom-magnifier/templates/single-product/product-image-magnifier.php
find the string
list( $magnifier_url, $magnifier_width, $magnifier_height ) = wp_get_attachment_image_src ( get_post_thumbnail_id (), "shop_magnifier" );
after that add
$dfsefwf = image_downsize( get_post_thumbnail_id (), "full" );
$magnifier_url = $dfsefwf[0] ;
“full” can be changed on “large”, “medium”
hey @ferensy this worked great!!
EVERYBODY, just to let you know, the fix for variations is in the next function in your path: plugins/yith-woocommerce-zoom-magnifier/class.yith-wcmg-frontend.php
public function available_variation( $data, $wc_prod, $variation )
REPLACE:
$attachment = wp_get_attachment_image_src ( $attachment_id, ‘shop_magnifier’);
WITH:
$attachment = wp_get_attachment_image_src ( $attachment_id, $size = ‘full’);
Good luck!
Thanks for the code, worked perfectly @ferensy
I seem to be having a problem @ddm333, the product thumbnails are not affected by the code you and ferensy provided as tyhe thumbnails still won’t zoom properly… here’s a link to the page
http://savadesigns.net/product/full-leather-high-back-swivel-chair/
thanks in anticipation
I saw everything worked correctly!