Skip Navigation

[Resolved] woocommerce order views results in “no itens found”

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to display their user order on the frontend.

Solution:

To display woocommerce orders I would recommend following the instructions in the link below.
https://toolset.com/learn/create-an-ecommerce-wordpress-site/displaying-more-information-from-woocommerce/how-to-display-woocommerce-orders-on-the-front-end/

This support ticket is created 5 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by meirk 5 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1186682

I am trying to:
make a view for woo orders - toolset woo views plugin already installed

Link to a page where the issue can be seen:
hidden link

I expected to see: the order list

Instead, I got:"no items found"

#1186708

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

Our Views plugin shouldn't be able to display the woocommerce list of orders as this CPT created with Woocommerce is normally declared as a private cpt.

I also tried to log in to verify this issue but it seems that the credentials you sent were not working.

Could you check on this for me.

Thanks,
Shane

#1186718

bsd

I know - beause of that i installed woocomerce views toolset plugin
also changed orders to be public in php plugin
The credencials work now for you to check - thanks (same user and pass i wrote)

#1186758

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I found the issue.

Its that you haven't set a post status for the view to display.

Take a look at our documentation here, it should be able to assist you with getting this displayed.

https://toolset.com/learn/create-an-ecommerce-wordpress-site/displaying-more-information-from-woocommerce/how-to-display-woocommerce-orders-on-the-front-end/

Thanks,
Shane

#1187454

Thanks, it works!
I think the default of status should be "any" - and than the views would work normally untill a filter will be added.