• Resolved maikelj1978

    (@maikelj1978)


    I just installed the 1.8 update of the plugin and it solved the infinite loop problem I also had. Thanks for that and the speed gain.

    But it introduced other issues:

    1. in the Customer History, all orders of the selected customer are listed under all categories (pending, processing, on hold, etc). See screenshot https://i2.paste.pics/G4QDL.png

    2. on the WC orders page, all recent completed orders that came in after the plugin update (and a few older ones), continue showing up as processing. Light green is processing in my setup. See screenshot https://i2.paste.pics/G4QEP.png

    This is happening in three shops I maintain.

    Wordpress 5.9.1
    Woocommerce 6.2.0

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author alx359

    (@alx359)

    Hi @maikelj1978 , thanks for your feedback.

    – Issue #1 was addressed in 1.8.1 update just deployed. Please try it.
    – Issue #2 is a side-effect of the cache and an expected trade-off for the increased speed. The correct history shall update automatically after the cache expires in about 1 hour. If your shops are busy that delay might be confusing. I’m thinking to expose that cache interval in the plugin settings page, or as a functions.php filter, for the shop admin to decide what works best for them, but it shall happen for the next (non-bug fix) version.

    Plugin Author alx359

    (@alx359)

    Hi again @maikelj1978

    Just deployed 1.8.5. There’s now a Bulk action -> Rebuild history cache menu entry, where shop admin can update the history cache manually, when the automatic default (1 hour) isn’t good enough for the given usage scenario. (Mind to check anything for the menu option to work at all. That’s an odd WC/WP idiosyncrasy.)

    I’m closing this ticket for now, but please report back if you may encounter any further issues. Thanks.

    Thread Starter maikelj1978

    (@maikelj1978)

    Hi. Many thanks for the quick reply and updates!

    Issue #1 was resolved with the 1.8.1 update. Regarding issue #2, I had found where to modify the value in the plugin code and that did the job nicely.

    Thanks for giving the option of deleting the cache now, that’s great!

    Plugin Author alx359

    (@alx359)

    Hi @maikelj1978, thanks for following up. Glad to know the issues were resolved and the plugin is working for you.

    Regarding issue #2, you don’t have to hack the plugin code anymore as in 1.8.6 there’s now a hook for this:

    add_filter( 'oshwoo_cache_ttl', function(){ return 0.5; });

    HTH.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customer History display wrong’ is closed to new replies.