Hi, I wanted to hide the zoom in the products and show them in a light box.
I am using Generate Press and Elementor and made my single product with Elementor.
I have used the code that Tom says but the result is that open two lightboxes of the same image, the first without the arrows in the sides and when close it, the second has the arrows.
I have solved it and open just only one lightbox with the arrows on the sides changing this setting in Elementor:
Elementor > settings > Style > disable “Light box”
I´d like that somebody could explain why that has been the solution.
NOTE: This does not affect to the light box for the images of a gallery and they continue opening in a light box.