Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Philip Hayton 98 posts 435 karma points
    Aug 31, 2021 @ 09:48
    Philip Hayton
    0

    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:

    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?

    Cheers

    Phil

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 31, 2021 @ 10:05
    Matt Brailsford
    100

    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

  • Philip Hayton 98 posts 435 karma points
    Aug 31, 2021 @ 10:39
    Philip Hayton
    0

    😂 Matt you are a master Jedi. Thanks amigo 👏🏻

Please Sign in or register to post replies

Write your reply to:

Draft