Skip Navigation

[Résolu] Woocommerce display variations on Shop page/archive

This support ticket is created Il y a 6 années et 6 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Marqué : 

This topic contains 1 réponse, has 2 voix.

Last updated by Beda Il y a 6 années et 6 mois.

Assisted by: Beda.

Auteur
Publications
#572757

I am trying to create a custom WordPress Archive to display my WooCommerce products.

I have created 3 product variations. I wish to display all 3 on the Archive page.

The [wpv-woo-product-price] shortcode displays "$20.00 - $27.00", showing the high and low values of the variations. How might I display "Variation 1 - $20", "Variation 2 - $22", and "Variation 3 - $27" ?

I though about creating a View to loop through the variations and placing this into the archive but can't seem to find Variations. They aren't a post type nor are they a taxonomy. Am I going about this the wrong way, am I overlooking something, or is this not possible?

Thanks as always.

#572835

Our WooCommerce ShortCodes are basically wrappers for WooCommerce features.

If this is possible with WooCommerce alone, it would be possible with our ShortCodes too.

And as far I know, this is not possible with WooCommerce alone, am I right?

Hence, what you would need is a whole new way of rendering the information - but since WooCommerce has not made the Post Type variations public, we cannot handle it as "normal" post types.

It requires Custom Code that we cannot assist.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.