Set deafault quantity to 1

Home Forums Ticket Products Event Tickets Plus Set deafault quantity to 1

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #950708
    Eusebiu
    Participant

    Hello,

    Now, the default quantity for tickets is 0. How can i make to set it to 1 so people dont have to click +1 to add to cart a ticket?

    Thanks

    #950996
    George
    Participant

    Hey Eusebiu!

    This is possible with a bit of code customization.

    There are in fact several ways to go about doing this, but I came up with a simple one that you can just drop into your theme’s functions.php file.

    Though my solution is admittedly not very pretty or elegant, it works really well for me – check out the code here → https://gist.github.com/momnt/90af014ea54e213fd69c.

    That made my default ticket values look like this on page load → https://cloudup.com/cCkzv0u1rJ2

    Try it out, and let us know if it helps! 🙂

    Cheers,
    George

    #983920
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Set deafault quantity to 1’ is closed to new replies.