@laliz
What plugins are currently activated on the site?
Does the issue happen if you change to either Twenty Sixteen or Storefront as the active theme?
Plugins active are as follows.
Advanced Custom Fields
Advanced Custom Fields: Repeater Field
Authorize.Net WooCommerce Lightweight Addon
Enhanced E-commerce for Woocommerce store
Gravity Forms
Olark for WP
Redirection
User Switching
User Switching in Admin Bar
WooCommerce AdWords Conversion Tracking
WooCommerce – Gravity Forms Product Add-Ons
WooCommerce
WooCommerce Bulk Discount
WooCommerce Shipping Per Product v2
WooCommerce Table Rate Shipping
WP Woocommerce to Google merchant center-pro
WP-Mail-SMTP
Yoast SEO Premium
will try to test after reverting to default theme
i switched to default theme and the lightbox started to work. so it is theme doing something weird with lightbox.
any pointers how this can be fixed?
i was able to fix this by doing following:-
A) Installed plugin Responsive Light box https://ww.wp.xz.cn/plugins/responsive-lightbox/
B)Enabling checkebox next to Woocommerce lightbox
after these two steps the main image on Product page still wasnt being shown in lightbox so a extra step to deregister the Lightbox script is required
C) adding the code mentioned on this page in functions.php file
http://cotswoldphoto.co.uk/using-wordpress-lightbox-woocommerce/