• Resolved honza.kopecky

    (@honzakopecky)


    Hello there, we recently started using the quite new (if I am not mistaken) “GTIN, UPC, EAN, or ISBN” field to add our inventory system ID to products, so we can later import our invoices to the inventory system and have the stock properly synchronized. Now, this works fine but we stumbled upon a problem that the values in this field must be unique for each product/variant.

    The problem is that in our store we have some products duplicated for retail and wholesale customers. They are the same products but have different prices, different descriptions and so on.

    Is there any way to disable the uniqueness requirement for this field? Or is there any other field better suited to do the job?

    Thanks in advance
    Honza

Viewing 1 replies (of 1 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for reaching out! You’re correct that the GTIN, UPC, EAN, or ISBN field enforces uniqueness for each product and variant. Currently, there isn’t a built-in way to disable the uniqueness requirement for this field in WooCommerce.

    To assign the same ID to multiple products, you need to use a custom plugin that allows adding an ID field without enforcing uniqueness.

    Or you can create a custom field to assign the same value to multiple products. You can use the following plugins for this purpose: Advanced Custom Fields (ACF) or WooCommerce Custom Fields.

    I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Disable global unique id check for uniqueness’ is closed to new replies.