• Resolved birken

    (@birken)


    Hi,

    i am using product ID + attribute slugs (name) on variable product.
    and it only generate id number like this: 1631 how can i get the attribute to show also?

    regards B

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SkyVerge

    (@skyverge)

    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.
    Plugin Author SkyVerge

    (@skyverge)

    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

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘using product ID + attribute slugs (name) on variable product.’ is closed to new replies.