We'd like to be able to add zero priced products to the cart, but I'm getting this error:
Can't add a Product to an Order where there is no price for the Order currency.
In our case, it's for an Infant Ticket variant. It feels like it should be an order line as per Child and Adult tickets.
Is there a clean way around this? I think I can get around it by giving the ticket an initial value of 1 or something and adding a price adjustment after the fact, but I was just wondering if there is any cleaner way of doing it?
You might want to upgrade to Vendr 1.8.6 (released last week) as this should add support for setting an explicit zero price https://vendr.net/docs/core/changelog/
Zero Price Product
Hi Matt,
Sorry it's me again...
We'd like to be able to add zero priced products to the cart, but I'm getting this error:
In our case, it's for an Infant Ticket variant. It feels like it should be an order line as per Child and Adult tickets.
Is there a clean way around this? I think I can get around it by giving the ticket an initial value of 1 or something and adding a price adjustment after the fact, but I was just wondering if there is any cleaner way of doing it?
Cheers
Phil
Hi Philip,
You might want to upgrade to Vendr 1.8.6 (released last week) as this should add support for setting an explicit zero price https://vendr.net/docs/core/changelog/
Matt
😂 Matt you are a master Jedi. Thanks amigo 👏🏻
is working on a reply...