Sauter la navigation

[Résolu] Display Orders in Frontend For Logged in Users WooCommcer with View

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

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)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 3 années et 12 mois.

Assisté par: Minesh.

Auteur
Publications
#2051461

Hi,
I am trying to display list of Orders made by a customer and display the list of orders to that logged in Customer in Frontend. I tried all possible solutions by following up the documentation and other forum posts but nothing seems to work.

Please watch the video below.
lien caché

#2051711

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand,, you would like to display the orders belongs to the current loggedin user.

To display only logged-in user's order, Can you please try to use the solution I shared with the following related ticket and check if that help you to resolve your issue.
=> https://toolset.com/forums/topic/create-order-list-for-front-end-user/#post-1078447

If that does not help, please share problem URL where you want to display the orders as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

In addition to that, to display the content conditionally, you should use the [wpv-conditional] shoratcode rather using [wpv-if]. Here is the details doc:
=> https://toolset.com/documentation/legacy-features/views-plugin/conditional-html-output-in-views/
=> https://toolset.com/documentation/legacy-features/views-plugin/#conditional-output-in-views