Direct add to cart link without variant

xps15z
New Member
1 0 0

I know to create an add to cart link you would use https://domain.com/cart/add?id=VARIANT-ID-HERE that has been shared on this forum.

 

However, my products do not have variants. Is there a way to just add the product ID instead? When I use the product id it obviously tells me it's an invalid variant ID.

 

Or is the only way to do this is creating a variant for your product?

0 Likes
AndrewPienaar1
New Member
1 0 0

Did you get a solution to this?

0 Likes