• Resolved YuriV

    (@yuriv)


    Hi,

    We have installed ‘YITH Pre-Order for WooCommerce’ today and are satisfied with the functionality itself.

    However, we do have a major problem with the database requests that the plugin makes on every page. Way more requests than we want.

    We only want the ‘pre order’ functionality on the single product page of some articles (maybe ten or twenty). In category/archive views the plugin does not need to examine for EACH product whether that product might be bookable. Check once if a product is opened. Checking it for every article on category pages results in a lot of unnecessary requests and thus CPU and database load. And it seems to be unnecessary.

    Without this plugin, products that are ‘out of stock’ have the title ‘More info’ on our cart button (on archive pages). We think that’s completely fine. A user can click the product and see whether they can Pre Order or not.

    In short: it’s unnecessary for the Pre Order-plugin to make these kind of calls on archive pages or tag pages or related products with a cart button:

    YITH_Pre_Order_Frontend_Premium-> empty_sale_price
    4 calls
    YITH_Pre_Order_Frontend_Premium-> force_use_of_sale_price
    4 calls
    YITH_Pre_Order_Frontend_Premium-> edit_price
    11 calls
    YITH_Pre_Order_Frontend_Premium-> show_date_on_loop
    1 call
    YITH_Pre_Order_Frontend-> pre_order_label
    1 call

    Can you please let us know how we can make the plugin work less DB-intensive? And make the plugin ONLY work on single products pages?

    Thanks in advance,

    Yuri

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello,

    I see that you have already opened this ticket for the Premium plugin in the correct place so we are going to close this topic.

    Thread Starter YuriV

    (@yuriv)

    That’s fine. Hopefully this will be solved.

    I guess we should post the fix here then as well because I think it can help other users too.

    Regards, Yuri

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Performance issues with ‘YITH Pre-Order’ (slowing us down)’ is closed to new replies.