Skip Navigation

[Resuelto] List all orders of a variable product

This support ticket is created hace 3 años, 4 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Minesh hace 3 años, 4 meses.

Asistido por: Minesh.

Autor
Mensajes
#2111961

Pat

Hello,

I'm using Toolset + WC and would like to list all orders concerning a specific product.
So, I'm able to create a Views based on order postype.
As my products are variable products, I don't see how I can display the needed info (product variant, qty and price).
Can you help on this point please?
Regards
Par

#2111983

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To display the variable product price what if you try to use the shortcode: [wpv-woo-product-price]
=> https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154347

There is no built-in feature available in Toolset plugins to display the product variation on view listing order, but here are the few links that will help you to get the product variations from an order:
- enlace oculto
- https://stackoverflow.com/questions/48390818/get-the-selected-variation-attributes-from-orders-in-woocommerce-3

You can use logic from these guides and build a custom shortcode and then place it in your view loop for the orders.

#2115015

Pat

Hi Minesh,

Thanks for the info
I will give a look on this and come to you if any additional issue.
Regards
Pat

#2115057

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

ok - fine.