Hi there,
Thanks for reaching out! I’ll be happy to help out here.
Regrettably, it’s only possible to specify either the slug or ID based on the plugin settings. Your format would need to be added via customization. You can customize the format with the wc_sku_generator_sku filter.
If you are looking for help integrating that customization, feel free to get in touch with us via our contact form and we are happy to recommend some developers who can help.
I’m very sorry I don’t have better news here. Can I help with any other questions?
Thread Starter
birken
(@birken)
Hi Guys,
thx for taking time for me 🙂
as i am not a coder but in simple explanation what code should i copy and paste in to this file /woocommerce-product-sku-generator.php
as i can see 3 different code there should all of them be added?
warm reagrds B
-
This reply was modified 7 years, 6 months ago by
birken.
Hi there,
My apologies. I was misunderstanding the functionality here. Upon further investigation, what you are needing should be possible so long as the Sku Generator settings are set to have the Parent product add the product ID, and the variations add the attributes: screenshot
Based on my tests, this properly sets the variation SKU when they are saved or updated: screenshot.
However, it’s important to note that the parent product SKU does not include the variation specification: screenshot
Is this consistent with what you are seeing on your tests? Or are the attributes missing for the specific variation SKUs?
All the best,
Ryan