Support » Plugins » Woocommerce slow when product has many attributes and variations

  • I need urgent help. I have uploaded by bulk CSV upload a product with 960 variations to wordpress with woocommerce. However, when I go to EDIT the product the page starts loading then crashes and never loads.

    I can use the rest of admin panel with no problem though, all is fast, but only when I try to go EDIT the product it just does not load

    I increased PHP memory to 256MB

    Shall I get more memory with 1and1 hosting provider?

    I spoke to them and they cannot advise me reasonably on anything

Viewing 11 replies - 1 through 11 (of 11 total)
  • Do you know how to edit your wp-config file?

    please let me know and I will do, which coding shall I change?

    I think you should try turning on WP_DEBUG, in your wp-config file you should have this line:

    define(‘WP_DEBUG’, false);

    Change it to

    define(‘WP_DEBUG’, true);

    You should then be able to see what the actual error is, removing the guess work – once you know what the error is it can be properly fixed. If you turn on wp_debug as stated above and then send me a link/wp-login then I can take a look – you have my email address if you want to send it there.

    Thanks a lot Webby

    I have turned on WP_DEBUG and then saw this message on the header of the website, so I copied it here below and then turned WP_DEBUG off again, so that the website does not look broken, I sent you the details to your email, I really appreciate your help:

    Strict Standards: Redefining already defined constructor for class wp_memory_usage in /homepages/35/d513160746/htdocs/wp-content/plugins/wp-memory-usage/wp-memory-usage.php on line 39

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /homepages/35/d513160746/htdocs/wp-content/plugins/wp-memory-usage/wp-memory-usage.php:39) in /homepages/35/d513160746/htdocs/wp-content/plugins/yith-woocommerce-wishlist/class.yith-wcwl.php on line 54

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d513160746/htdocs/wp-content/plugins/wp-memory-usage/wp-memory-usage.php:39) in /homepages/35/d513160746/htdocs/wp-content/plugins/yith-woocommerce-wishlist/functions.yith-wcwl.php on line 118

    Hi Inverine,

    What product is it that you can’t edit – which product does it crash on – if you have direct link to edit page that is fine.

    Dear Webby

    It is product code rx2146, engagement ring Ariel

    Thanks a lot, I really appreciate your help

    Hi Inverne,

    Unfortunately there is no quick fix to your problem. In most shops you will only have maybe 1 or 2 attributes that actually affect price, i.e. a clothes store might have attributes for color, style and size, but only size would affect the price. In this case they would set up the products with only a set variation for each size, color and style would be left as choices for the user to make at time of buying. It looks to me like you have done a link all variations on that product – do you really need a set product for each variation, do all your 4 attributes attached to that product really affect price?

    If not then the best solution is to re-add the product, only set the variations you actually need, and leave the rest to a choice at time of purchase.

    If so… Do you only have the problem on the backend? Again if so then maybe we can look at either paginating the variations on the backend interface

    Dear Webby

    Thank you very much. Each product needs 960 variations and each variation affects the price, there is no way break it down into smaller variations, it is just the only way to list one product is with 960 variations.

    The problem is when loading of the product with 960 variations in admin panel when I want to EDIT it, the page crashes. It crashes because of too many variations. So I was wondering if there is a way to fix this issue. I already increased memory with hosting company as well. When looking at the same product in the shop of the website and try to buy it the page loads fine. I hope the solution can be found, I would be really grateful to you

    In that case, as I said then we need to look at custom code. My recommendation for what this code should do is that we should look at paginating the variations as they are displayed for editing in the backend. If you want to hire me to do this work we can discuss it by email.



    Hello Webby,

    I am having the same problem. How can I contact you?

    I having the same problem but I found this plugin and it worked for my me.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Woocommerce slow when product has many attributes and variations’ is closed to new replies.