Products created with REST API don’t display in subcategory archive
-
Hi,
I have a shop running WC. All the products are created with a REST API call and mostly have a category and a subcategory.
In the example link, I cannot display products with subcategory “futs-6l-perfectdraft” in the subcategory archive page (only 4 on 10) but if you go on the primary category “bieres-au-fut”, all 10 perfectdraft products show up (maybe my Website has been drinking too much beer ?? ).
If I edit and save manually a product, it shows up in the “futs-6l-perfectdraft” subcategory archive page…
I tried with Twenty twenty theme, nothing changed. I used “Appearance > Customize > Woocommerce > Product catalog” and set shop display: category only – category display: subcategory and products.
I asked Woocommerce support and they wasn’t able to help (they think it may be a wrong api call). They told me to try here on the forum. I installed the WC library with composer and POST my products with API as explained in the doc on github.
Do you have any idea about what’s going on ? It really looks like a bug to me…
Thanks a lot.
Bernard
The page I need help with: [log in to see the link]
- The topic ‘Products created with REST API don’t display in subcategory archive’ is closed to new replies.