Duplicated queries on the order page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #94409
    Kevin
    Guest

    Hi, I have come across duplicated queries on the order page when this plugin is activated (using pro version). Please fix the problem to reduce errors and backend speed. First thought was woocommerce making these queries but after investigating it should be your plugin. Check out the github: https://github.com/woocommerce/woocommerce/issues/25046

    #94410
    Dhruvin
    Participant
    Plugin Author

    Hi Kevin,

    Thank you for reporting this. I will investigate this one and get back to you.

    Best Regards,
    Dhruvin

    #94411
    Dhruvin
    Participant
    Plugin Author

    Hi Kevin,

    I had a look at the duplicate queries mentioned in the issue link you specified and those are as a result of fetching Shipping methods and zones.

    If you do not have a use case where you would want to restrict the custom payment gateways for specific shipping method or zone then I would recommend you to disable the “Shipping methods” under the “Advanced Options” here: https://www.screencast.com/t/6OlUgFgg

    I am working on creating a fix where the Shipping methods would be cached to avoid duplicate queries.

    Please let me know if there are any improvements after disabling the above setting. After disabling the setting, I was not able to find any duplicate queries.

    Thanks,
    Dhruvin

    #94412
    Kevin
    Guest

    Hi Dhruvin,

    Great support. I changed the setting it works now!

    Regards,Kevin

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.