How add a new Google attribute ?
-
Hello,
There are only 15 Google attributes, and most of Google attributes are missing, please check at https://prnt.sc/KxEzb8wFgMa9
We need other Google attributes, like Capacity, sale_price_effective_date, custom_label, here are
https://support.google.com/merchants/answer/6324460?hl=en
———————————-
I went through your official article at https://woocommerce.com/document/google-listings-and-ads/attribute-mapping-use-cases/#mapping-custom-fields
and there is a code snippet for Mapping Custom Fields:
add_filter( 'woocommerce_gla_attribute_mapping_sources_custom_attributes', function( $values ) { return array_merge( $values, ['isbn']); } );
Unfortunately, the above code snippet is only used for Mapping Custom Fields to the exist 15 Google attributes, but not for creating a new Google attributes, so, is there a code snippet to create new a Google Attribute, like Capacity, Custom label, sale_price_effective_date ?
Thanks
- The topic ‘How add a new Google attribute ?’ is closed to new replies.