Tell us what you are trying to do? Output the selected product variations after clicking a button
Is there a similar example that we can see? hidden link
What is the link to your site?
Hi Stanley,
Thank you for waiting.
I've performed some tests and noticed that the way WooCommerce saves product variations and the attached attributes, it is not possible to use a post view to show a search form with results only from the current single product's variation.
In a post view's filter, it is possible to add a taxonomy search filter for the available attributes ( screenshot: hidden link ), but that will cycle through all products and not just the variations of a specific product.
You're welcome to submit a feature request for this at:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
For personalized assistance around complex custom code, you can also consider hiring a professional from our list of recommended contractors:
https://toolset.com/contractors/
Note: If you'd like to show a form to select the available attributes and the add to cart button on a single product page, you can use the "wpv-woo-buy-options" shortcode:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-woo-buy-options
regards,
Waqar
My issue is resolved now. Thank you!