I am trying to set up a gift card on my website and the variable amount is not working. I checked the variable amount box, I set the default amount, and the price shows up and its not editable
s
Steve Goldberg
06/02/2023, 4:54 PM
The Commerce API does not support variable amounts and therefore variable price gift cards don’t work
b
Benjamin Cookson
06/02/2023, 4:56 PM
So you can't use the variable gift card on the website? When would you use that field then?
s
Steve Goldberg
06/02/2023, 4:59 PM
You can’t buy them through the website, no. But they can be purchased through the ERP, for example, and they’re supported in Site Builder. You can, for example, use the WSDK endpoints (wooo 20th birthday today 🎉) if you have a Site Builder licence to create a customisation that lets you add them to the cart
Steve Goldberg
06/02/2023, 4:59 PM
But it’s rather hacky so I’m not a fan
Steve Goldberg
06/02/2023, 4:59 PM
If you want to raise an enhancement request, it’s issue 263009