Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @hammeroz,

    As description, you can search & add simple, variable products or an exact variation. Then they will show up in the front-end of the site

    I’ve checked the site you attached and found that variable and variation products have been still appearing and working fine in grouped product, in the cart and check out

    Pls kindly check again the site and confirm to us about the isssue.

    Regards,

    Thread Starter HammerOz

    (@hammeroz)

    The problem is the variable product is not added to the cart / order. The parent product is added to the order (Rod tube) as opposed to the variation (Rod tube 1800mm) . How is the store owner meant to know which variation the customer ordered? This is a serious issue for your plugin.

    Plugin Author WPClever

    (@wpclever)

    Hi @hammeroz

    Please add 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;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘variable product variation not showing in cart or order’ is closed to new replies.