This commit is contained in:
Umangvaghela 2017-08-31 16:34:17 +05:30
parent a2d0069e2f
commit 16e51760ec
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class WC_Order_Item extends WC_Data implements ArrayAccess {
} }
// Skip items with values already in the product details area of the product name. // Skip items with values already in the product details area of the product name.
if ( ! $include_all && $product && wc_is_attribute_in_product_name( $display_value, $order_item_name ) ) { if ( ! $include_all && $product && $product->is_type( 'variation' ) && wc_is_attribute_in_product_name( $display_value, $order_item_name ) ) {
continue; continue;
} }