Skip Navigation

[Gelöst] Displaying Product Item Quantity for Each Product on Frontend WooCommerce View

This support ticket is created vor 4 Jahre. 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
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+01:00)

This topic contains 1 Antwort, has 2 Stimmen.

Last updated by Jamal vor 4 Jahre.

Assisted by: Jamal.

Author
Artikel
#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: Englisch (English ) Französisch (Français )

Timezone: Africa/Casablanca (GMT+01: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.