Hi @atrabile,
Please ensure that you added variation for each attributes combination. That means you can’t use “Any…” here https://www.screencast.com/t/fzoFiYecbm
For more quickly, you can use the bulk actions https://www.screencast.com/t/uoM6BwVpnC
After that, the grouped product will work fine.
Regards,
Hi,
thank you for your reply.
i already did…..
-
This reply was modified 2 years, 8 months ago by atrabile.
Well, i was right, i made a test with the 2021 worpdress theme and it works fine so the problem come from Divi theme…
Could you solve the problem please, i’m sure i’m not the only one to use divi for a shop.
Making it compatible with Divi would be a big plus for you.
Hi @atrabile
I’ve checked and seen that your theme is missing a class for <body> element.
Please try to add the below snippet (How to add custom code?):
add_filter( 'body_class', 'woosg_body_class' );
function woosg_body_class( $classes ) {
global $post;
$woosg_product = wc_get_product( $post->ID );
if ( $woosg_product && $woosg_product->is_type( 'woosg' ) ) {
$classes[] = 'product-type-woosg';
}
return $classes;
}
If it doesn’t work, please try another snippet:
add_filter( 'woosg_container_selector', 'your_woosg_container_selector' );
function your_woosg_container_selector() {
return 'body.single-product';
}
Hi,
you saved my life ! first snippet did the trick !
thank you for the speed of your answers and the troubleshooting.