Frequently Asked Questions

How to disable replace variations images for first image gallery when use openswatch
to disable variations images replace to 1st image in gallery , you can past this code to end of  your_theme/functions.php

function v_woocommerce_available_variation($data)
{
	$data['image'] = '';
	
	return $data;
}
add_filter( 'woocommerce_available_variation', 'v_woocommerce_available_variation',10,1 );


 Last updated Sun, Apr 3 2016 7:58pm

Please Wait!

Please wait... it will take a second!