diff --git a/includes/fbproduct.php b/includes/fbproduct.php index 5c05e6b06..95c5fc527 100644 --- a/includes/fbproduct.php +++ b/includes/fbproduct.php @@ -1187,6 +1187,7 @@ public function prepare_product( $retailer_id = null, $type_to_prepare_for = sel $product_data[ 'gender' ] = $this->get_fb_gender(); $product_data[ 'material' ] = Helper::str_truncate( $this->get_fb_material(), 100 ); $product_data[ 'pattern' ] = Helper::str_truncate( $this->get_fb_pattern(), 100 ); + $product_data[ 'woo_product_type' ] = $this->get_type(); if ( self::PRODUCT_PREP_TYPE_ITEMS_BATCH === $type_to_prepare_for ) { $product_data['title'] = WC_Facebookcommerce_Utils::clean_string( $this->get_title() );