Skip Navigation

[Resolved] Displaying Product Item Quantity for Each Product on Frontend WooCommerce View

This support ticket is created 3 years, 10 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: Africa/Casablanca (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years, 10 months ago.

Assisted by: Jamal.

Author
Posts
#1616185
Screen Shot 2020-05-07 at 9.42.20 PM.png

Please view the attachment.

I need to display the quantity purchased for each item that displays in the view under the "Item(s) Ordered:" column. Can you please advise me which field name to use? Thank you! 🙂 Eric

#1616951

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello and thank you for contacting the Toolset support.

Currently, there is no way for Toolset to pull the order items except the count with the shortcode [wpv-ordered-product-ids]
https://toolset.com/documentation/user-guides/views/views-shortcodes/#woocommerce-views-2

You will need to implement your own shortcode to display it. Check this answer on StackOverflow on how to get the quantity of an order item. https://stackoverflow.com/a/40715347

If you think, Toolset should have its own way to pull such information, please ask it here https://toolset.com/contact-us/suggest-a-new-feature-for-toolset/

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