Single Event quanitity 0

Home Forums Ticket Products Event Tickets Plus Single Event quanitity 0

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #775439
    fullservicepage
    Participant

    Hey guys,

    where do I have to edit the standard value for the amount of tickets for the single event view ?
    It is set to 0 and I would like it to be 1

    Kind regards

    #776468
    Barry
    Member

    Hi fullservicepage,

    I’m afraid there is no particularly easy means of changing the default (which ought to be an empty in this case – ie, indicating unlimited stock – rather than actually being set to zero – which would indicate no stock).

    That said, we always welcome requests for new features and functionality and if you’d like to post this on UserVoice, which is our preferred channel for feature requests, we’ll definitely review it 🙂

    Thanks again!

    #777376
    fullservicepage
    Participant

    This reply is private.

    #777495
    fullservicepage
    Participant

    This reply is private.

    #794253
    Barry
    Member

    Hi fullservicepage,

    Apologies first of all because of the delay in replying: normally topics in need of a further reply are flagged up to staff members but, for some reason, that didn’t happen this time round.

    I do see what you mean – I actually misunderstood you first time round and thought you were interested in the stock/inventory level rather than the default number of tickets to be selected.

    This is actually fairly easy to accomplish – a simple template override ought to work. Please take a look in the wootickets/views/wootickets/tickets.php template. If you copy this to your theme (following the instructions in the Themer’s Guide) you can then make a small change – simply find the block of code starting with:

    woocommerce_quantity_input

    Then look just below it for this line:

    'input_value' => 0

    Change this to:

    'input_value' => 1

    Does that help?

    #824725
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Single Event quanitity 0’ is closed to new replies.