Hello, I have some trouble with missing the add to cart button, for at least when using Divi builder. The following options resolve the issue.
Via Snippet:
/**
* Display the 'Add to Cart' button for 'slm_license' product type.
* This hooks into the custom product type's add to cart action and
* uses the default WooCommerce simple product's add to cart functionality.
*/
add_action("woocommerce_slm_license_add_to_cart", function() {
do_action('woocommerce_simple_add_to_cart');
});
Or adding the following action to the code for example register_template.php
Hello, I have some trouble with missing the add to cart button, for at least when using Divi builder. The following options resolve the issue.
Via Snippet:
Or adding the following action to the code for example register_template.php
I am new into Woocommerce so possible this is not the right way, but could not getting anything else working.