Private variable products appear in a query


We are aware there is a quirk in WooCommerce where private variable products may appear in the query if they have enabled variations. Usually disabling these variations removes them from the query.

This did not work for some reason with a Cwicly Query and the only way we could remove the products was to delete them entirely.

Step-by-step reproduction instructions:

  1. With WooCommerce installed create a shop template with a Cwicly Query showing your products
  2. Ensure you have at least one private product with variations (these can be disabled)
  3. Note that they are still shown in the product Query.

Environment info

  • WordPress version: 6.3.2
  • Cwicly Plugin version:

Hi @StrangeTech,

Sorry to hear you’re experiencing trouble with this.

Unfortunately I haven’t been able to reproduce this issue on my end.

This also doesn’t seem to be my case, as whether private variable products have variations or not, they don’t seem to show up in a Cwicly Query block.

To investigate further, I have set up a demo instance.
Please log in with this, and see the shop page and private product.

Feel free to modify anything to see if it is reproducible.

Thank you in advance.

Hi @Araminta, I modified the demo instance accordingly so you can see it reproduced.

The demo had frontend rendering enabled, this issue only occurs with frontend rendering disabled

1 Like

Thank you for the clear demonstration on the demo!

I can confirm this is a current limitation.
We’ll be sure to address this as soon as possible.

Apologies for the inconvenience.

Once again, thank you for taking the time to report this, @StrangeTech!

A status parameter was added in 1.3.3, allowing you to specify which product status you wish to show in a Product Query:

Please don’t hesitate to let me know if you have any questions on this.