• Resolved subrat4php

    (@subrat4php)


    I have tried with below code in wp-config.php but no help. It’s kind of urgent and I have product variations more than 250 for some products. Any suggestions please.

    define( 'WC_MAX_LINKED_VARIATIONS', 250 );

    Even, I tried above code in functions.php (as some guys suggested) still not working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @subrat4php,

    I assume you are wanting to create more than 50 variations at a time when using the option here?


    Link to image: https://cld.wthms.co/MPwtXX

    That constant won’t work in the functions.php file, but with that added to your wp-config.php file what issue did you see when trying to create variations? Just one clarifying point, even though it still says (Max 50 per run) as the image below shows it will do 250. If you do get it to run does it not make 250 variations for you?


    Link to image: https://cld.wthms.co/gxnEiA

    Thanks for helping confirm and clarify further.

    Thank you very much for the suggestions. I will try it and let you know here soon.

    Great!!!

    It worked this time. Previously, I have tried the same code in wp-config.php and it worked but this time something went wrong and only 50 variations were created.

    It’s done now. I can now create 250 variations.

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    I’m glad to hear that you were able to make the necessary changes in order to allow 250 variations to be created at once!

    I’ll be marking this thread as resolved now. Feel free to start a new thread if you have additional questions!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WC_MAX_LINKED_VARIATIONS not working’ is closed to new replies.