Product created with basic variant for price and UPC via API JSON

product created via IPA JSON ask to select variant when press “add to basket”. Why ?

Hi @JDumoulin ,

As per my knowledge this can be the reason , since i don’t access to your website i can’t go in more deep;

No Default Variant Selected:
If variants like size or color exist, make sure one is pre-selected. Otherwise, users are forced to choose, which breaks the flow.

Variant ID Not Passed to Add-to-Cart:
“Buy” button clicks must pass a valid variant ID. Without it, nothing gets added to the cart.

Single Variant Treated as Multi:
If there’s only one variant, flatten it or auto-select it to avoid confusing the UI and logic.

Please let me know if you are facing any kind of specific problem .

Thanks

Thank you Steven

I think my problem is more complex. I use API JSON instead of GRAPHQL and the behavior is very strange. I will try with GRAPHQL and w’ll see.