This topic has 4 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Rose Tyler
“There is an ‘Add to Cart’ button for all products except for grouped products, which makes this section appear incomplete. Is there any option to include a button for grouped products as well?”
Please refer the screenshots :
1) https://snipboard.io/mINzkO.jpg
2) https://snipboard.io/5FEqwx.jpg
3) https://snipboard.io/BG5bPa.jpg
Hello, Catholicans,
Thank you for getting in touch with us.
By default, there is no such option. Please provide temporary wp-admin and FTP access. We will check what can be done to help you.
Kind Regards,
8theme team
I will share the credentials in private content area.
Hello, Catholicans,
Thank you for your response.
We added for you next code snippet in child-theme/functions.php
add_action('woocommerce_after_shop_loop_item_title', function() {
global $product;
if ($product->get_type() == 'grouped') {
woocommerce_template_loop_add_to_cart();
}
}, 15);
Now you have the “View products“ button on grouped products → https://prnt.sc/oZq-Bf_0qFW6.
Waiting for your response!
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up