Skip Navigation

[Resolved] Can Toolset show different Woocomerce product variations in a table?

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by StanleyT8485 5 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#1299121

Tell us what you are trying to do? I want to show different Woocomerce product variations in a table.

Is there a similar example that we can see? hidden link

#1299457

Hi Stanley,

Thank you for waiting.

By default, Toolset Views plugin will list only the "Product" posts ( post type slug "product" ) and the not the "Product Variations" ( post type slug "product_variation" ).

But, you can use the "wpv_filter_query" filter to make it bring in "product_variations" posts too.
https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query

Here is a relevant thread with examples code snippets for different usage examples:
https://toolset.com/forums/topic/list-product-and-product-variant/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1301173

My issue is resolved now. Thank you!