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

Archive Show Swatches on Product Page – Divi Builder – WooCommerce – Add to Cart Button

Hi, on the ” Product Page – Divi Builder – WooCommerce ”  the Add to Cart Button doesn´t show up, i left the field blank and clicked “Show swatches on archive / shop page.” It shows the swatches but not the “Add to Cart” Button. How can i resolve that problem ?

Hakik Zaman

Hello Günter,

Thanks for reaching out to us. Please install the Code Snippet plugin and put the below code as a snippet-
function wvs_divi_archive_support(){
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 99 );
}
add_action('init', 'wvs_divi_archive_support');

Or, you can also put the above code inside your child theme’s functions.php file.

Note: If it doesn’t work please contact your theme dev team.

Thanks