A
A
Alex Memstill2017-08-17 10:49:44
WordPress
Alex Memstill, 2017-08-17 10:49:44

View product pictures?

Good afternoon.
Please tell me how to make the image view in the product description so that it does not open to the full screen, but looks in the area of ​​the main image?
02f660147f6748b891b52058605e021e.jpg
When you clicked on the blue square, the picture was shown in place of the red one!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mikhail Lisetsky, 2017-08-18
@starbart

Starting with version 3.xx, Woocommerce can do all this without additional plugins, you just need to activate these features in the functions.php file.

/*
 * Enabling product gallery features (zoom, swipe, lightbox) in 3.0.0
*/
        add_theme_support('wc-product-gallery-zoom');
        add_theme_support('wc-product-gallery-lightbox');
        add_theme_support('wc-product-gallery-slider');

O
one_day, 2017-08-17
@one_day

from the finished one you can connect a photo frame

O
ommunist, 2017-08-17
@ommunist

You need to write JavaScript that does this.
Do you use, judging by the nature of the requirement, Fancybox 3 in some kind of implementation in the plugin, or something else?
Fancybox 3 can be configured to be framed instead of full screen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question