google-shopping-feed icon indicating copy to clipboard operation
google-shopping-feed copied to clipboard

Variant ID

Open discoveryjames opened this issue 5 years ago • 1 comments

I believe each variant should have a unique id, the example code doesn't suggest assigning a new id each each variant. I'm aware there is a item_group_id, but I believe that that the id should also be unique. It overrides the previous entry with that id if not I think.

Am I missing something or should $variant->id() be used for each variant?

discoveryjames avatar Jun 30 '19 12:06 discoveryjames

exactly this, set a new id for your variant

Fredyy90 avatar Oct 28 '22 12:10 Fredyy90