Hi @raghav-gakhar,
The documentation below describes how to setup Attributes in WooCommerce and use them to create variations which a customer can select from the product purchase screen. You would set up your variation colours and sizes using this process.
https://docs.woocommerce.com/document/variable-product/
Hi, are you saying that we will have to rerun variations after every 50 variations are added, you mean we will have to run the variations like 180 times? As the variations like so many….
Hey @raghav-gakhar,
By default, WooCommerce will limit the number of variations created to 50 on each run to not overload servers.

Image Link: https://cloudup.com/cNDyJMj0UzS
It’s possible to use some code to increase that limit and define more variations to be created on a single run.
https://www.proy.info/create-more-than-50-product-variations-in-woocommerce/
I’d suggest using this with caution though in case your web server times out and cannot handle creating 1000’s of variations at the one time as 9000 is quite substantial.
Thank you Stuart, I wish I’d known coding to execute this particular product without changing the default values of woocommerce.
Thank you for the help though.
Another alternative would be to use https://woocommerce.com/products/product-add-ons/ to create simple select fields. The key difference here is that you won’t have any inventory tracking for those variations as they’re just options.
Alternatively, if you’re set on using variations, you could also consider importing them using a CSV file. For more information on how that works, have a look at the following guide: https://github.com/woocommerce/woocommerce/wiki/Product-CSV-Importer-&-Exporter
dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hey @raghav-gakhar
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Thanks,