• Dear printify: Please completely redesign your plugin as it creates unacceptable load times for both the cart page and the checkout page. As it currently is, I won’t even consider paying for printify premium. Come on people, it’s 2024.

Viewing 4 replies - 1 through 4 (of 4 total)
  • samlangdon

    (@samlangdon)

    Same issue here and haven’t had much luck with Printify support (logged with the tech team, but no response from them after a week). I’ve customised the get_shipping_rates function in the Printify_Shipping_API class for the plugin on my site for now. Nothing fancy – I’m saving the Printify API results in PHP session after it’s called for the first time and using that until the request (basket contents & shipping address) changes, but it dramatically reduces basket & checkout page load time. I’ve shared the code with Printify via my support ticket and suggested they implement something like this in the plugin. In the meantime, I’ve disabled auto updates for the plugin on my site and will wait to see what happens in future versions. Happy to share if it helps.

    Thread Starter ddach69

    (@ddach69)

    @samlangdon, yes, I would greatly appreciate seeing your custom code, thank you!

    Moobs

    (@nickyb713)

    @ddach69 I’d be willing to bet they contract all their WP development and do not have dedicated developers for WP. Until recently this plugin had not been updated for over a year and even then I saw absolutely no change in the source other than the version number. Version 3.0 does include an extra parameter for product id, however, 3.0 does not appear to be calculating shipping rates from what I’ve tested so I’ll continue using my previously modified version of the plugin.

    To mitigate the extended the load times and prevent shipping calculations with every page load and cart event I simply deferred the plugin to only calculate shipping at checkout.

    I recommend disabling automatic updates for this plugin so you are able to test and modify each new version prior, but adding this short snippet to printify-shipping-method.php will limit shipping calculations to the checkout page only.

    printify-shipping-method.php

    After:

    function init()
    {


    Add the following:

    //customization - huge optimization limiting execution
    if (!is_checkout()) {
    return; // Exit if not on the checkout page
    }

    Outside of product support, their development support is absolutely atrocious. Best of luck.

    @nickyb713

    Thank you. Let’s keep on them. @samlangdon I too won’t subscribe to premium.

    Cheers!

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