Title: Category path problem
Last modified: July 10, 2018

---

# Category path problem

 *  Resolved [adryyy](https://wordpress.org/support/users/adryyy/)
 * (@adryyy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/category-path-problem-2/)
 * Hello,
    Great plugin overall.
 * I have a problem with categories paths as doesn’t seem to work correctly.
    [Here’s an image with XML feed data.](https://i.imgur.com/JSSl6JM.png)
   I’ve tested with others formats and profiles and doesn’t make a difference. Here’s
   debug log: [https://pastebin.com/wi3MZ5ZA](https://pastebin.com/wi3MZ5ZA)
 * Also, is there a way to trim “Home >” ?

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

 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10504120)
 * Hi adryyy,
 * Thanks for using our plugin and reaching out to us.
 * Many channels require the Home > to be part of the category path, that is why
   our plugin puts it in there. Why are you thinking it is not working correctly?
 * All the best,
    Eva
 *  Thread Starter [adryyy](https://wordpress.org/support/users/adryyy/)
 * (@adryyy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10512674)
 * Found the problem. Many of my products doesn’t have meta key _yoast_wpseo_primary_product_cat
   completed, and this block your plugin from create a category path.
    It’s pretty
   hard to complete Yoast meta key, as they don’t offer a good solution for bulk
   complete. Would be nice to add an option to use category path generated by Woocommerce(
   ex. when export products in Woocommerce, you get something like this Sisteme 
   de alarmă antiefracție > Detectoare > Detectoare de mișcare), as it’s good. Also,
   please make a bit more clear in specify you use Yoast to determine the category.
   Put a parenthesis at category option, at mapping, to make things clear for users:).
 *  Thread Starter [adryyy](https://wordpress.org/support/users/adryyy/)
 * (@adryyy)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10513707)
 * Okey, fixed it by implementing two methods from WC_CSV_Exporter
 * [https://pastebin.com/05SGniKv](https://pastebin.com/05SGniKv)
 * Would be nice to see this implemented in an official update. Also ability to 
   disable Home >, as i think you can put it easy as a prefix, in admin menu.
 * Results look like this
    <category>Accesorii generale > Acumulatori</category>
   <category>Sisteme de supraveghere video > Pachete complete de supraveghere video
   </category>
 * Which is what i need :).
 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10526492)
 * Perfect you got it to work yourself, very creative 🙂 !
 * Thanks for your feedback and suggestions.
 * All the best,
    Eva
 *  [c0st1s1966](https://wordpress.org/support/users/c0st1s1966/)
 * (@c0st1s1966)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10676191)
 * Hi support
 * I have a problem with categories paths as doesn’t seem to work correctly.
    I 
   try to put field mapping category value Category path, but not work and see only
   two root of path… not all. For example <category>Home > New Products 2018</category
   >
 * I wait your answer.
    Thanks for co-operation Kostas
 *  [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * (@evavangelooven)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10680162)
 * Hi Kostas,
 * Thanks for using our plugin and reaching out to us.
 * It seems like your products are sitting in multiple categories, New Products 
   2018, being one of them. The plugin will randomly get one of the categories the
   product is in unless you are using the primary category from the Yoast SEO plugin
   in which case our plugin will retrieve the primary category.
 * Hope this makes sense?
 * All the best,
    Eva
 * ps: next time, please create a new issue. Posting in a resolved issue like you
   did now is not according to WordPress guidelines.

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

The topic ‘Category path problem’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [evavangelooven](https://wordpress.org/support/users/evavangelooven/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/category-path-problem-2/#post-10680162)
 * Status: resolved