Update ID generation
-
I could not see an option to contribute to this project so I will send this as a support request and you can do what you like with it.
But we run into a problem when we bulk import products. Tje code uses addition (timestamp + product_id) to generate UUIDs. This causes different products to get the same UUID during bulk imports:Product A: timestamp 1700000000 + ID 100 = 1700000100
Product B: timestamp 1700000050 + ID 50 = 1700000100So for us this creates issues since we import lots of products, and I think the plugin would benifit from a hash function instead of addition to guarantee unique UUIDs while keeping them deterministic. I would gladly provide a PR for this.
Best and thanks for doing the hard work 🙂The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.