Change Template to use default number of tickets equals 1, not 0.

Home Forums Ticket Products Event Tickets Plus Change Template to use default number of tickets equals 1, not 0.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1253291
    Carolin
    Participant

    Default number for RSVP

    Further to the above post, can you please tell me the file location for the template so that I can change the default RSVP ticket number to 1.

    Thanks!

    #1253955
    Victor
    Member

    Hi Carolin!

    Thanks for reaching out to us! 🙂

    To change the default RSVP ticket number to 1 you should make a template override of the template located at wp-content/plugins/event-tickets/src/views/tickets/rsvp.php

    In line 64 you should change value=”0″  to 1.

    I suggest you check our Themer’s Guide to make sure you are correctly doing the override and not modifying the plugin files directly so you don’t loose the changes when updating to new versions of the plugin.

    I hope that helps. Let me know if any other question.

    Best!

    Victor

    #1254291
    Carolin
    Participant

    Hi Victor

    Thanks for your reply. I had hoped that setting the default number of tickets to 1 would reveal the email/name fields by default also, but now I have to select 2 at least to reveal the fields. My fault for not being more specific about the purpose of my request! Is there anything else I can do do make this happen? My client’s customer’s are often confused when they don’t see the name fields on load ……

    Thanks!

    #1254422
    Victor
    Member

    Hi Carolin!

    You can add the following css snippet to your stylesheet to make sure the fields always show up:

    .tribe-tickets-meta-row {
    display: table-row;
    }

    I hope that helps and let me know if any other questions.

    Victor

    #1254480
    Carolin
    Participant

    Perfect! That’s working now. Had to add !important to the CSS as it wouldn’t override without it but all good now. Thanks for your help!

    C.

    #1254645
    Victor
    Member

     

    Hey Carolin!

    I’m glad you made it work and thanks for letting me know.

    I’ll go ahead and close this thread, but please feel free to open a new topic if you have any other questions.

    Good luck with your project!

    Victor

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change Template to use default number of tickets equals 1, not 0.’ is closed to new replies.