skip to Main Content

Display Slider on WooCommerce Variations Instead of Lightbox

The reason WooCommerce variations do NOT use the slider on the single product post by default is because when you select a custom variation it will not alter the main image which many customers like.

// Enable slider on all woo products even variations
add_filter( 'wpex_woo_product_slider', '__return_true' );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top