This topic has 6 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Robert Hall
I have the lightbox disabled in Woocommerce settings and in Woopress Theme Options.
However, product images in the product image gallery still open in the Woopress lightbox instead of showing in the main image window (this works correctly on your Royal theme, however).
How can this be resolved?
Hello,
This is a bug in our theme. It will be fixed in the next theme update.
Sorry for the inconvenience.
Regards,
Robert Hall.
Ok, so you have a rough timeframe on that?
Another similar bug is that when the product image zoom is set to Window mode, there should not be a square box for the control like there is for the lens mode.
The square is useful when you are in lens mode but when in window mode it is confusing and becomes irritating, particularly because it necessarily obscures some of the image you want to see.
Hello,
You can try to add this code in functions.php file as temporary fix for lightbox issue:
/* Remove WooCommerce styles and scripts. */
function woo_remove_lightboxes() {
// Styles
wp_dequeue_style( 'woocommerce_prettyPhoto_css' );
// Scripts
wp_dequeue_script( 'prettyPhoto' );
wp_dequeue_script( 'prettyPhoto-init' );
wp_dequeue_script( 'fancybox' );
wp_dequeue_script( 'enable-lightbox' );
}
add_action( 'wp_enqueue_scripts', 'woo_remove_lightboxes', 199 );
?>
Concerning zoom effect we’ve taken this into our account and will try to fix it in future update.
Thank you.
Regards,
Eva Kemp.
That worked perfectly, thank you.
The only thing is adding the closing php tag when using a child theme breaks the site, so the ?> on the last line should not be used.
Thank you!
Hello,
You’re welcome!
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up