{"action":"created","issue":{"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/156","repository_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce","labels_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/156/comments","events_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/156/events","html_url":"https://github.com/Yoast/wpseo-woocommerce/issues/156","id":233598682,"number":156,"title":"WooCommerce do not include product child category as part of automatic redirect","user":{"login":"Pcosta88","id":8238074,"avatar_url":"https://avatars0.githubusercontent.com/u/8238074?v=3","gravatar_id":"","url":"https://api.github.com/users/Pcosta88","html_url":"https://github.com/Pcosta88","followers_url":"https://api.github.com/users/Pcosta88/followers","following_url":"https://api.github.com/users/Pcosta88/following{/other_user}","gists_url":"https://api.github.com/users/Pcosta88/gists{/gist_id}","starred_url":"https://api.github.com/users/Pcosta88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pcosta88/subscriptions","organizations_url":"https://api.github.com/users/Pcosta88/orgs","repos_url":"https://api.github.com/users/Pcosta88/repos","events_url":"https://api.github.com/users/Pcosta88/events{/privacy}","received_events_url":"https://api.github.com/users/Pcosta88/received_events","type":"User","site_admin":false},"labels":[{"id":279597484,"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/labels/backlog","name":"backlog","color":"78BDF2","default":false},{"id":35099581,"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/labels/bug","name":"bug","color":"fc2929","default":true},{"id":137397709,"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/labels/support","name":"support","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-05T14:04:17Z","updated_at":"2017-06-19T07:50:50Z","closed_at":null,"body":"### What did you expect to happen?\r\nWhen a child product category was selected, I expected it to appear as part of the 301 redirect.\r\n### What happened instead?\r\nIt did not appear.\r\n### How can we reproduce this behavior?\r\n**1.Add the commits from WooCommerce 4.9: https://github.com/Yoast/wpseo-woocommerce/pull/152**\r\n\r\n![screen_shot_2017-06-05_at_9_57_13_am](https://cloud.githubusercontent.com/assets/8238074/26786695/7129f1ca-49d5-11e7-8b58-727e78e36939.png)\r\n\r\n**2.In Settings-Permalinks-Product add /shop/%product_cat%/ in the custom base**\r\n\r\n![screen shot 2017-06-05 at 9 58 14 am](https://cloud.githubusercontent.com/assets/8238074/26786720/85e320f0-49d5-11e7-885b-7fe9d8fe91ef.png)\r\n\r\n**3.Add a product and make a product child category the primary category**\r\n\r\n**4.See that permalink is correct but the automatic redirect does not show the product child category**\r\n\r\n![5](https://cloud.githubusercontent.com/assets/8238074/26786867/fab7abe4-49d5-11e7-9c00-db9815639a55.png)\r\n\r\n**6.See redirect in SEO-Redirect section lack the product child category**\r\n\r\n![screen shot 2017-06-05 at 10 02 07 am](https://cloud.githubusercontent.com/assets/8238074/26786907/18faf872-49d6-11e7-8224-e4c90bed5e9e.png)\r\n\r\n**7.Visit URL and see that it redirects correctly.**\r\n\r\n![screen shot 2017-06-05 at 10 03 02 am](https://cloud.githubusercontent.com/assets/8238074/26786947/3bd17d6c-49d6-11e7-83e6-1bb13c961710.png)\r\n\r\nCan you provide a link to a page which shows this issue?\r\n\r\n### Technical info\r\n* WordPress version: 4.7.5\r\n* Yoast SEO version: 4.8\r\n* WooCommerce SEO: 4.8 (with commits from 4.9)\r\n* WooCommerce: 3.0.7\r\n"},"comment":{"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/comments/309364948","html_url":"https://github.com/Yoast/wpseo-woocommerce/issues/156#issuecomment-309364948","issue_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/156","id":309364948,"user":{"login":"masiorama","id":731916,"avatar_url":"https://avatars0.githubusercontent.com/u/731916?v=3","gravatar_id":"","url":"https://api.github.com/users/masiorama","html_url":"https://github.com/masiorama","followers_url":"https://api.github.com/users/masiorama/followers","following_url":"https://api.github.com/users/masiorama/following{/other_user}","gists_url":"https://api.github.com/users/masiorama/gists{/gist_id}","starred_url":"https://api.github.com/users/masiorama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masiorama/subscriptions","organizations_url":"https://api.github.com/users/masiorama/orgs","repos_url":"https://api.github.com/users/masiorama/repos","events_url":"https://api.github.com/users/masiorama/events{/privacy}","received_events_url":"https://api.github.com/users/masiorama/received_events","type":"User","site_admin":false},"created_at":"2017-06-19T07:50:50Z","updated_at":"2017-06-19T07:50:50Z","body":"Any news? Just to know if you are working on this matter of if I have to search for a different solution... thanks."}}
{"actor":{"display_login":"masiorama"}}