• Resolved spooky_jack

    (@spooky_jack)


    Hello,

    Most probably after the last update, the orders page shows “No order has been made yet. Go shop” for everyone, even though they have orders. All orders had been placed by an administrator and paid by each customer, if that makes any difference. Any idea on what might be causing this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    Sounds like a theme conflict.
    Many issues can be resolved by doing a conflict check.?
    You can use https://www.ads-software.com/plugins/health-check/ for this. It allows you to deactivate all plugins and activate a default theme just for your user session.?

    Everyone else will see your site normally.?
    Activate the plugin and enter the “troubleshooting mode”: /wp-admin/index.php?page=health-check&tab=troubleshoot. You can then do a test again. Troubleshooting mode also allows you to selectively toggle plugins back on.?

    The plugin requires a default theme like Twenty Seventeen present to work fully.?

    **Before you do that, please do make a full backup!**

    Alternatively you can try this to test your orders view as well: https://conschneider.de/mini-plugin-show-woocommerce-orders-shortcode/ – this mini plugin provides a shortcode for listing WooCommerce orders of the current user.

    Thread Starter spooky_jack

    (@spooky_jack)

    Thank you for your answer.

    I tried the plugin, but the page it shows has no content (header, menus, title, sidebar, footer etc are there, just the content of the page is blank). In general templates/myaccount/myorders.php produces this result, while templates/myaccount/orders.php returns “No order has been made yet. Go shop”.

    As far are health check is concerned, there currently is an issue on troubleshooting mode which returns 500 error on every page, so it is not usable. An update is expected next week though that might fix this.

    I’ll keep posting if there are any news.

    Thread Starter spooky_jack

    (@spooky_jack)

    Ok, it turns out a function from the child theme was editing pre_get_posts to handle the posts per page in archive pages and the get_posts function from my-orders.php did not like that. I am not sure though why this problem did not come up earlier.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customer Orders page doesn’t show orders’ is closed to new replies.