Viewing 13 replies - 1 through 13 (of 13 total)
  • Saif

    (@babylon1999)

    Hello @alexliii,

    Thank you for reaching out!

    You can map custom product fields to Google Attributes, please check the following part of the documentation for context: https://woocommerce.com/document/google-listings-and-ads/attribute-mapping-use-cases/#mapping-custom-fields

    Is this what you’re looking for? :‎)

    Look forward to hearing back from you.

    Thread Starter alexliii

    (@alexliii)

    Thanks for reply.

    However, that is not what mean.

    there are only 18 google attributes in this plugin, like brand, color, material, size…etc.

    But, there are lots of google product attributes, like Product_highlight, please check at https://support.google.com/merchants/answer/9216100?hl=en

    So, how to add product highlight attribute?

    Hi @alexliii

    Thanks for providing further information about your inquiry here.

    I understand that you would like to add the Product Highlight attribute on the list of attributes supported by the Google Listings and Ads plugin, correct?

    You are correct that currently, the Google Listings & Ads plugin only supports 15 attributes as listed here: Attribute Mapping.

    We regret to inform you that the Product Highlight is currently not supported by our plugin. We truly understand the importance of this feature to you and we assure you that we are continuously working on enhancing the functionality and compatibility of our plugin.

    However, we appreciate your interest and feedback, and we invite you to submit a feature request for this option. Rest assured that we take our users’ feedback seriously and we always strive to improve our products.

    Please let us know if you have any further questions or concerns, and we’ll be happy to assist you.

    Thread Starter alexliii

    (@alexliii)

    Oh, really unbelievable. A plugin that google officially recommends only support some of attributes?

    Product highlight is just a example for you, but we need more attributes like ship_label, return policy, handle time, transit time, because we need provide different values accordingly to different categories.

    It seems there is a long way to go for this plugin, and we can not migrate our feed to this plugin by now.

    Thanks anyway.

    Hi @alexliii

    We appreciate your feedback and understand your concerns regarding the limited support for certain attributes in the plugin recommended by Google.

    We acknowledge that having support for attributes such as ship_label, return policy, handle time, and transit time is essential for providing accurate and detailed information about your products across different categories. Our development team is constantly working to improve the plugin and add more features to cater to the diverse needs of our users.

    At the moment, you might consider using custom fields to store these additional attributes and then map them to the appropriate fields in the plugin. This way, you can still provide the necessary information for your products while waiting for the plugin to be updated with more built-in support for these attributes.

    We apologize for any inconvenience this may have caused and appreciate your patience as we work to improve our plugin. Your feedback is invaluable in helping us identify areas for improvement, and we hope to better serve your needs in the future.

    Thread Starter alexliii

    (@alexliii)

    Hello @xue28

    Thanks for reply.

    Really do not want to disappoint you, and here is typical case if there is no full attribute:

    If there are lots of products, we have to use custom_label to set products into different groups:

    https://prnt.sc/slrnafEnunXr

    custom_label

    https://support.google.com/merchants/answer/6324473?hl=en

    By this way, we bid for Google Campaign for different products.

    So, please understand that it will be much trouble if there are lack of most Google attributes.

    In this plugin, there are only minimum of attributes, that is really hard to meet most of cases.

    I understand that your team is working hard to improve the features, but please understand that we, as seller, spend really lots of time to handle the the difficulties, like the post at https://wordpress.org/support/topic/rules-of-mapping-dynamically-and-mapping-static-data/

    So, most of value will be incorrect, and the products will be disapproved if it does not support flexible to map attributes.

    Anyway, I will have a try if available.

    Thanks

    • This reply was modified 10 months, 3 weeks ago by alexliii.
    • This reply was modified 10 months, 3 weeks ago by alexliii.
    • This reply was modified 10 months, 3 weeks ago by alexliii.
    Plugin Support anastas10s

    (@anastas10s)

    Hello @alexliii

    Thank you for reaching back, elaborating further.

    From what I gather, a Redis cache issue with the current implementation has you searching for alternatives.

    If you are needing help with customizations or troubleshooting WooCommerce and do not have a developer or company you can depend on, then we’ve got recommendations for you.

    Visit https://woocommerce.com/customizations/ to find the right agency or developer for your specific needs.

    Thought of a new feature or product improvement for Google Listings & Ads? Share with us and let the community be a part of it, via https://woocommerce.com/feature-requests/google-listings-and-ads/

    I hope that helps!

    Thread Starter alexliii

    (@alexliii)

    Hello @anastas10s,

    Thanks, I ready your reply at https://wordpress.org/support/topic/how-add-a-new-google-attribute/

    As @xue28 said :

    At the moment, you might consider using custom fields to store these additional attributes and then map them to the appropriate fields in the plugin. This way, you can still provide the necessary information for your products while waiting for the plugin to be updated with more built-in support for these attributes.

    But I think she misunderstand between “creating new Google Attribute” and “Mapping Custom attribute”, that is why I try to ask code snippet in a new topic.

    Anyway, is it possible to add a new Google Attribute by code snippet ?

    Plugin Support anastas10s

    (@anastas10s)

    Hello @alexliii

    Currently, the Google Listings & Ads extension doesn’t support showing all the custom fields available in a shop when mapping attributes. This is to avoid noise due to the huge quantity of Custom Fields in a shop. However, custom fields support can be enabled for attribute mapping using a code snippet, as showcased in the related documentation, directly linked here.

    I hope that clarifies things further!

    Thread Starter alexliii

    (@alexliii)

    What I mean is that adding a Google attribute, but all of your support reply upon Mapping Custom Fields.

    Maybe I misunderstand, if yes, please correct. Here is what I tried:

    I just used the Code snippet to add a capacity attribute at https://support.google.com/manufacturers/answer/7495963?hl=en#:~:text=The%20capacity%20%5Bcapacity%5D%20attribute%20defines,1TB%20and%202TB%20storage%20sizes

    add_filter(
    		'woocommerce_gla_attribute_mapping_sources_custom_attributes',
    		function( $values ) {
    			return array_merge( $values, ['Capacity']);
    		}
    	);
    

    and add capacity value to the product as Custom Field https://prnt.sc/rRrT9Afc_43u

    But, it does not show up as a attribute at Create attribute rule page: https://prnt.sc/kIl5dWQ8vrC3

    So, what is the right way to add [Capacity] attribute and Mapping the Capacity fields into the feed please?

    Thanks

    • This reply was modified 10 months, 3 weeks ago by alexliii.
    Plugin Support anastas10s

    (@anastas10s)

    Hello @alexliii

    The code appears to be OK, so I would go ahead with choosing “Size”, among the target attributes shown in this screenshot.

    Then the related fields will appear, thus enabling you to choose “Capacity”. (Where Product Size appears in the screenshot linked here.)

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help!

    Thread Starter alexliii

    (@alexliii)

     I would go ahead with choosing “Size”, among the target attributes shown in this screenshot.

    No, it will not show up where “Target attribute“.

    Because that Code snippet will enable option of “Use value from existing product field“:

    https://prnt.sc/LHnMDsisUNgN

    and then “Select an option”:

    https://prnt.sc/5M2nFG0CxFEO

    But, what I want is to and a “Capacity” in Target attribute options:

    https://prnt.sc/p2c2FoF5R4pi

    Because there are only these attribute: Adult, Age group, Brand, Color, Condition, Gender, GTIN, is Bundle, Material, MPN, Multipack, Pattern, Size, Size System, Size Type.

    See? there is no Capacity attribute in the above attribute list.

    So, is there Code snippet available to add a new attribute in “Target attribute” list ? like [custom_label_0], [product_highlight], [capaicty], etc.

    Thanks

    • This reply was modified 10 months, 3 weeks ago by alexliii.
    • This reply was modified 10 months, 3 weeks ago by alexliii.
    Plugin Support c3zh

    (@c3zh)

    This is a fairly complex development topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.

    I can also recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How to extend target attributes?’ is closed to new replies.