Custom attribute Code does not support Gender
-
Hello,
I used the following code to created attribute rule:
add_filter(
‘woocommerce_gla_attribute_mapping_sources_custom_attributes’,
function( $values ) {
return array_merge( $values, [ ‘Gender’]);
}
);But when try to create attibute rule, it only show the Global Gender attribute option:
But, there is no “Use value from existing product field” option.
The custom code snippet is quite limited to Color, Material, Size.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.