Adding Lightbox to the [products] shortcode page
-
Hi everyone,
I’m making a website that has a page which uses the [products] shortcode to display a list of the products. What I want to do is:
I’d like to add the Woocommerce lightbox feature to the product thumbnail of the products on this page, so they can click it to zoom fullscreen on the image, just as they can on the individual product shop-listing pages.
What is the best way to go about this?
I am using a custom child-theme so I can add anything to functions.php, or to any of the other woocommerce php files. Or make edits to the php template file that controls the page containing the shortcode.
The [products] shortcode I’m using is to display one image at a time with pagination: [products limit=”1″ paginate=”true” orderby=”date” columns=”1″]
Thanks for any help!
- The topic ‘Adding Lightbox to the [products] shortcode page’ is closed to new replies.