This topic has 5 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Brian Johnson
Hi,
how can I use the original Woocommerce lightbox instead of yours?
I find some lines in the woo.php file but I’m afraid of changing anything there.
Problem is that your lightbox doesn’t work very well, when I click on the main image, it pops up but you cannot navigate to the other images. I hope the original works better.
I’m on local server.
Thanks
Jan
Have you tried to disable the theme lightbox in the Theme Options then enable the Woocommerce lightbox in Woocommerce > Settings > Products (display tab) ?
Yes, but when I click “save” the function gets automatically disabled again.
I think it’s because there is this line in woo.php:
// **********************************************************************//
// ! Remove Default STYLES
// **********************************************************************//
add_filter( ‘woocommerce_enqueue_styles’, ‘__return_false’ );
add_filter( ‘pre_option_woocommerce_enable_lightbox’, ‘return_no’); // Remove woocommerce prettyphoto
function return_no($option) {
return ‘no’;
}
Hi,
does anyone from staff have a solution for this?
Thanks
Sorry for the long delay with answer.
You are right.Please remove these lines to enable default woocommerce lightbox. You will be able to save settings in woocommerce->products->display then.
With best regards
Brian Johnson
You must be logged in to reply to this topic.Log in/Sign up