Title: The &#039;product type&#039; attribute
Last modified: August 31, 2016

---

# The 'product type' attribute

 *  Resolved [arrakis3K](https://wordpress.org/support/users/arrakis3k/)
 * (@arrakis3k)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/the-product-type-attribute/)
 * Google recommends for the product type : Use the full “breadcrumb” information.
   Wherever possible, we recommend you include more granular categories as it provides
   us with more precise classification signals. For example, Books > Non-Fiction
   > Sports > Baseball is better than Baseball.
 * Would it be something that you would implement ? (Or that is implemented but 
   I haven’t found)
 * Thanks!
 * [https://wordpress.org/plugins/wp-product-feed-manager/](https://wordpress.org/plugins/wp-product-feed-manager/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [aukemarketing](https://wordpress.org/support/users/aukejomm/)
 * (@aukejomm)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268153)
 * Hi Arrakis3K,
 * Yes we have this in our list of stuff we want to add.
    At this point it is not
   completely known how we are going to approche this but we have this on our list.
 * Auke
 *  Plugin Author [aukemarketing](https://wordpress.org/support/users/aukejomm/)
 * (@aukejomm)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268458)
 * Hi Arrakis3K,
 * Please update your plugin to the latest version (0.13.0)
    In this update you 
   find the item “Product category” It wil give you a comma separate string with
   shop categories.
 * It will make it possible to fill product_type with a static value like Books 
   > Non-Fiction > Sports > Baseball depending on the value of shop categories with
   the use of conditions.
 * Something like this
 * Fill with static value “Books > Non-Fiction > Sports > Baseball”
    If Product 
   categories includes “Baseball books”
 * This way you are able to set the Product Category.
 * Auke
 *  [adboehm](https://wordpress.org/support/users/adboehm/)
 * (@adboehm)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268564)
 * I’m in the process of manually inputting the parent categories (two levels) as
   added prefixes for some 20 3rd level subcategories, as suggested in your post
   above.
 * Current logic entered into the product_type area is:
 * _(Product Category) if (Product Category) includes (last level category)
    and
   change values (add prefix) (first cat > 2nd cat > ) for all products
 * with this repeated and adjusted for each last level category that currently appears
   in the feed. I’ve done an initial test with 4 of these set up.
 * Apart from being tedious and allowing for a lot of human error (typing in parent
   categories whereas they could be automatically retrieved from wordpress, which
   I hope you’re working on), I’ve found a bug that’s preventing me from making 
   any adjustments after the initial save.
 * Once saved, the div that usually appears when you click (edit values) never appears
   and is missing for any of these saved lines. In the last condition, if I click(
   edit) in ‘for all other products (edit)”), only the condition-selector div appears;
   the change-source-value-column div doesn’t appear.
 *  Plugin Author [Michel Jongbloed](https://wordpress.org/support/users/michel-jongbloed/)
 * (@michel-jongbloed)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268567)
 * adboehm,
 * Thank you for reporting the error. I can confirm it’s a bug in the software. 
   I’m already working on it and I will try to fix it as soon as possible.
 * I will also have a look into simplifying what you want to achieve with your selections,
   but that may take a few days before it can be implemented.
 * Michel
 *  Plugin Author [Michel Jongbloed](https://wordpress.org/support/users/michel-jongbloed/)
 * (@michel-jongbloed)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268577)
 * adboehm,
 * As from version 0.14.0 you will find two Category based “From Woocommerce Source”
   options:
 * 1. Product Category String
    2. Selected Product Categories
 * The first option will give you a normal Category String like “First cat > second
   cat > third cat” based on the selected categories in your shop.
 * The second option will give you a comma separated string containing all selected
   shop categories for that specific product.
 * If I understand your issue correctly, you can now simply user option 1 for your
   Product Type source and that should in all cases give you the feed output you
   want.
 * Please let us know if this solves your problem.
 * Michel
 *  [adboehm](https://wordpress.org/support/users/adboehm/)
 * (@adboehm)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268584)
 * In version 0.14.0, It seems that option 1 (Product Category String) does not 
   output any product_type for any of our products (missing).
 * Option 2 (Selected Product Categories) is only outputting the last category, 
   without any ancestors.
 * Another free plugin [https://wordpress.org/plugins/tfm-google-product-feed/](https://wordpress.org/plugins/tfm-google-product-feed/)
   outputs the category breadcrumbs in the product_type field correctly, but has
   nearly no configuration options and doesn’t see all our products (less than 100).
 *  Plugin Author [Michel Jongbloed](https://wordpress.org/support/users/michel-jongbloed/)
 * (@michel-jongbloed)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268585)
 * That is strange. I did test if thoroughly on my systems and I used a standard
   wordpress function to get the categories.
 * I’ll dive into it again and will see if there are other options to get this information,
   and that would work for you.
 *  Plugin Author [Michel Jongbloed](https://wordpress.org/support/users/michel-jongbloed/)
 * (@michel-jongbloed)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268587)
 * adboehm,
 * I changed the procedure that gets the product categories. For me the previous
   function also worked so I’m not sure if this will solve the problem with the 
   category string for you, but please check it as soon as the next update is out.
   I expect the next update to come out around Tuesday.
 * After updating, please let me know if this fixed it or not.
 *  Plugin Author [wpmarketingrobot](https://wordpress.org/support/users/wpmarketingrobot/)
 * (@wpmarketingrobot)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268591)
 * Adboehm,
 * A new update is out today.
    Please update your plugin and report back if the 
   update solved the problem with the category strings.
 * Let us know!
 * ! Please support us with rating our plugin on wordpress.org
 *  [adboehm](https://wordpress.org/support/users/adboehm/)
 * (@adboehm)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268594)
 * I’ve tested version 0.15.0 but on our site the result is the same as 0.14.0.
 * Product Category String when selected removes the product_type lines, and Selected
   Product Categories is only displaying the direct product category (no ancestors).
 * Would you be able to employ the same/similar method of getting the parent categories
   as the plugin mentioned above?
 * What configuration settings do you need to help replicate this issue?
 * WooCommerce > Settings > Products > Display:
    Shop Page Display: Show categories&
   subcategories Default Category Display: Show both
 * Settings > Permalinks:
    Product category base: /buy-roofing-online/products Product
   permalink base: Default
 *  Plugin Author [aukemarketing](https://wordpress.org/support/users/aukejomm/)
 * (@aukejomm)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268595)
 * Hello adboehm,
 * Sorry to hear it is still nog what you are looking for.
    To see what is going
   on in your particular woocommerce shop setup. Would you be willing to setup a
   login for us so we can get a closer look at you webshop and how things work?
 * Please send it to [auke@wpmarketingrobot.com](https://wordpress.org/support/topic/the-product-type-attribute/auke@wpmarketingrobot.com?output_format=md)
   
   We will take a look and find a solution.
 * Auke.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘The 'product type' attribute’ is closed to new replies.

 * ![](https://ps.w.org/wp-product-feed-manager/assets/icon-256x256.png?rev=3208464)
 * [WPMR Google Feed Manager for WooCommerce – Sell on Google Merchant Center & Shopping](https://wordpress.org/plugins/wp-product-feed-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-product-feed-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-product-feed-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-product-feed-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-product-feed-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-product-feed-manager/reviews/)

 * 12 replies
 * 5 participants
 * Last reply from: [Michel Jongbloed](https://wordpress.org/support/users/michel-jongbloed/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/the-product-type-attribute/#post-7268603)
 * Status: resolved