Hello Günter,
Thanks for reaching to us. Please create a Child Theme First.
Then paste the below code to child theme’s functions.php file and press update file button.
function wvs_divi_archive_support(){
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 99 );
remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 30 );
add_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 31 );
}
add_action('init', 'wvs_divi_archive_support');
Please let me know, is it resolved your issue or not.
Thanks
Archive Show Swatches on Product Page – Divi Builder – WooCommerce
Günter Turtenwald
Hello, i got the message that i should contact your support if archive swatches dont work (Note: Some theme remove default woocommerce hooks that why it’s may not work each theme. For theme compatibility please open a ticket.) We use the Divi Builder in combination with WooCommerce, so did i do something wrong or is it not compatible with this setup ?