Title: Problematic attribute handling
Last modified: November 29, 2025

---

# Problematic attribute handling

 *  [mirons](https://wordpress.org/support/users/mirons/)
 * (@mirons)
 * [6 months ago](https://wordpress.org/support/topic/problematic-attribute-handling/)
 * The output of all all of Google’s attributes in an xml file are cluttered as 
   it is when using this plugin, as this plugin doesn’t remove empty attributes 
   in products where the attributes are empty. 
   But even if we ignore that and keep
   the empty tags, the real problem I found was specifically with the handling of
   the Google’s attribute product_detail.
 * When submitting a feed to Google Shopping, I rely heavily on the Google attribute
   product_detail, as it allows to submit a great amount of custom attributes.
 * Unfortunately, this plugin doesn’t output the product_detail attribute in a way
   that complies with Google instructions.
 * The attribute product_detail includes 3 sub-attributes: section_name (optional),
   attribute_name (required), attribute_value (required).
 * The input mechanism for product_details in this plugin is not very good and the
   output it provides is problematic.
 * When using xml, if certain products don’t have values for certain attributes 
   that use product_detail, instead of omitting the attribute altogether or, for
   the very least, omitting the attribute_name, the plugin outputs the actual attribute
   name while leaving it hanging without a value. 
   For example (and I’ve replaced
   the html tags with parentheses): (g:product_detail) (g:attribute_name)Resolution(/
   g:attribute_name) (g:attribute_value/) (/g:product_detail)
 * In the case of outputting the feed in a tsv format it’s even worse, as the product_detail
   column would just include the specific attribute name without any context to 
   what it is or to what Google should do with that word, whether it’s a section_name,
   attribute_name or an attribute_value. 
   And when the tsv file does have a product
   that has both an attribute_name and an attribute_value, but not a section_name(
   as it’s optional), it incorrectly outputs it like this: Resolution:4k Instead
   of the way Google instructs to output it in the tsv format, which is to start
   with a colon(:) to indicate there is no section_name. Like this: :Resolution:
   4k
 * Other than that, if you don’t need to use the Google Shopping feed, the plugin
   does offer some extra options for feed customization.

The topic ‘Problematic attribute handling’ is closed to new replies.

 * ![](https://ps.w.org/webappick-product-feed-for-woocommerce/assets/icon-256x256.
   gif?rev=3346213)
 * [Product Feed Manager for WooCommerce – CTX Feed – Support 220+ Shopping & Social Channels](https://wordpress.org/plugins/webappick-product-feed-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webappick-product-feed-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mirons](https://wordpress.org/support/users/mirons/)
 * Last activity: [6 months ago](https://wordpress.org/support/topic/problematic-attribute-handling/)