Support » Plugin: WooCommerce Products Per Page » Good plugin but needs some fixes

  • antondrob

    (@antondrob)


    It’s have to be plugin in every woo store. But there is a thing that has to be fixed. When there are > 1000 products and the user choose show all he will catch the Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)
    I think show all option must work via Ajax, which will work when the user reaches the bottom of the shop page.

    • This topic was modified 3 weeks ago by  antondrob.
Viewing 1 replies (of 1 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi Anton,

    That fatal error can happen if your server/host doesn’t have enough memory capacity to load in that amount of products at once. Its not something I can resolve in the plugin unfortunately.

    Loading in products through ajax (‘inifite scroll’ type of plugin) is out of scope for this plugin. If you have that amount of products I’d recommend to not use a ‘Show all’ option.

    If you do find that important you can look at increasing the memory availability on your host.
    https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    I hope you understand the scenario and could revise your rating 🙂

    Thanks,
    Jeroen Sormani

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this review.