fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Show swatches on shop page doesn’t worl

Tobias Flik

Hello,

the option “Show swatches on archive / shop page” is checked, but doesn’t work.

It doesn’t show any swatches under the products on the shop page.

I guess it is because we are using “IMPREZA” Theme and the settings are overwritten by the theme.

Is there anything we can do to get it work with Impreza? That’s acutally the main reason we purchased the PRO-version…

 

Thank you for help!

Hakik Zaman

Hi Tobias,

Please contact the Impreza theme support and ask for a hook for the shop/ archive page.

Or give them this piece of code:

add_action('woo_variation_swatches_pro_archive_page_loaded', function($wvs_pro){
   remove_action('woocommerce_init', array( $wvs_pro, 'enable_swatches' ), 1);
   add_action('IMPREZA_THEME_ARCHIVE_HOOK_WILL_BE_HERE', array( $wvs_pro, 'after_shop_loop_item' ), 9);
}, 10, 1);

Thank You