How to add “Add to Cart” button in Divi shop pages

// Add "Add to Cart" buttons in Divi shop pages
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 20 );

Add to cart Shortcode styling

 

p.product.woocommerce.add_to_cart_inline { border-style: none!important;}

.add_to_cart_inline .woocommerce-Price-amount.amount{ display: none;}