Skip Navigation

[Resolved] Display WooCommerce Orders on front-end

This support ticket is created 5 years, 9 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 3 replies, has 2 voices.

Last updated by Shane 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1229555

Hello
I have read your post about :
How to display WooCommerce Orders on the front-end
I have a restaurant woocommerce website, and want to display orders in frontend for shop manager
1) Do I need to install Toolset WooCommerce Views plugin in addition to Toolset Views or the Toolset Views is suffisant ?
2) How to refresh automatically page displaying orders in frontend to be able to see orders when they occurs
3) Please confirm, we can display for each orders, all ordered products,customer informations, shipping mode ...

Thank you

#1229572

Shane
Supporter

Languages: English (English )

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

Hi Bouchair,

Thank you for getting in touch.
1) Do I need to install Toolset WooCommerce Views plugin in addition to Toolset Views or the Toolset Views is suffisant ?
Yes you will need to have the Toolset Woocommerce Views plugin active since this is what allows views to interact with Woocommerce.

2) How to refresh automatically page displaying orders in frontend to be able to see orders when they occurs
Actually this will require some custom code to achieve to. Essentially to have an active listener for the database to see when the table has been modified. This is something that is out of the scope of our forum support.

3) Please confirm, we can display for each orders, all ordered products,customer informations, shipping mode

You are able to display all the order products, the Customer Order, however for the shipping mode, i've been checking on the woocommerce order itself and i'm not seeing it as a field on the order.

Doesn't that this is a status of the order, however I can be wrong. Please let me know if the shipping mode appears on an order on your end.

Thanks,
Shane

#1229577

Thank you for your reply
For the second question, you talk about listener for the database but in more easy way, how we can refresh windows every minutes ?

#1229587

Shane
Supporter

Languages: English (English )

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

Hi Bouchair,

What you can do is to use this code here.


setTimeout(function() {
  location.reload();
}, 60000);

You can add it to the page page that you want to refresh . This should reload the page every 60 seconds.

You can add it to the order order view and it will also work .

Please let me know.
Shane