• Resolved thnor

    (@tonyhnor)


    Hi. Do anyone know how to change the ID of a variable product?

    To explain; When adding a variable product, say t-shirts in three different sizes and colors. Then we have six variations, and they all get an unique ID when in the product page / Productdata / Variables. Here the ID is set with an # when looking at them in wp-admin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello,
    the ID is automatically set by WordPress when creating the variation, if you change it the variation will break.

    Also, the # is added just for a visual representation, you don’t have to really consider it if you use the ID somehow in a custom script for example.

    Thread Starter thnor

    (@tonyhnor)

    Hi, thank you for your quick reply. We will use an alternate solution to our issue. Thank you again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change #ID variable product’ is closed to new replies.