Event Tickets Plus shows quantity selector set to zero

Home Forums Ticket Products Event Tickets Plus Event Tickets Plus shows quantity selector set to zero

  • This topic has 6 replies, 2 voices, and was last updated 9 years ago by Nicolaas Maritz.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1263121
    Nicolaas Maritz
    Participant

    Hi I would like to know how to add an explanation info message just above the selection box. many users get confused as they do not know that they can select more than one ticket.

    I would like to add an info message just above the selection box to read something like this:

    “Increase ticket count from 0 in order to proceed”

    #1264248
    Geoff
    Member

    Hey Nicolaas,

    Absolutely, that’s totally possible! I would suggest overriding the wootickets/tickets.php template to make that happen. You can learn more about overriding calendar templates in our Themer’s Guide, but it basically boils down to this:

    • Make a copy of the tickets.php template. It is located at wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php
    • Make a new folder in your theme called tribe-events
    • Make a new folder in that one called wootickets
    • Drop your copied tickets.php file in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, add your instructions just above the start of the tickets table on Line 37.

    Will this work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #1264796
    Nicolaas Maritz
    Participant

    Thank you Geoff

    I lack some code knowledge to “add the instructions just above the start of the tickets table on Line 37″

    Could you please give me an example how the html/php code should look if I would like to add a code like this:

    line 35: <table width=”100%” class=”tribe-events-tickets”>
    Line 36: <?php

    New code with instructions – Line 37:

    Increase ticket count from 0 in order to proceed

    Regards
    Nicolaas

    #1264888
    Geoff
    Member

    Hi Nicolaas,

    Sure thing, here is an example of the template where I had added a line showing you where to add custom text:

    https://gist.github.com/geoffgraham/e8d8d6160d931dc97ca9cc3398f4bfaa

    Cheers!
    Geoff

    #1265776
    Nicolaas Maritz
    Participant

    Thanks a lot Geoff that worked for me!

    #1265827
    Geoff
    Member

    Excellent! So glad to hear it and I appreciate you following up to let me know. 🙂

    I’ll go ahead and close this thread but let us know if any other questions come up and we’d be happy to help.

    Cheers!
    Geoff

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Event Tickets Plus shows quantity selector set to zero’ is closed to new replies.