Because of changes to the Shopify API you are no longer able to set a product's handle to a value if another product already has that handle. Previously, the Shopify API would add -1
to the handle to ensure it was unique but now they reject the new handle completely. This means that running edits like "Set the product's handle to be the product's title" will fail if you have two products with the same title.
To address this we've added an option when editing handles to ensure that a handle is unique. When selected, the app will add random numbers to the end of the handle if the handle already exists in Shopify. If the new handle is already unique, no numbers will be added.
For example, if you try to set the handle for two products to my-handle
:
- The first product will have the handle my-handle
- The second product will have a handle like my-handle-2891
Learn more about editing product handles in Shopify.