Skip to content

Commit 9ca2f48

Browse files
authored
fix: VariationAttribute now sourcing value as Term slug for global attributes (#800)
1 parent 5701fb1 commit 9ca2f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/data/connection/class-variation-attribute-connection-resolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static function variation_attributes_to_data_array( $attrs, $variation_id
101101
'id' => $id,
102102
'attributeId' => $term->term_id,
103103
'name' => $term->taxonomy,
104-
'value' => $term->name,
104+
'value' => $term->slug,
105105
];
106106
}
107107
}//end foreach

0 commit comments

Comments
 (0)