RSVP Form Quantity Default

Home Forums Ticket Products Event Tickets Plus RSVP Form Quantity Default

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1142444
    Tylor
    Participant

    I just updated to event tickets 4.2.3.

    I followed the instructions from this thread: https://theeventscalendar.com/support/forums/topic/default-minmax-number-of-rsvp-tickets/

    so that I could change the default RSVP quantity to 1. It worked and everything is good. However, the issue is now that the Name & Email form do not show up unless user changes quantity up or down.

    How can I have the form be set to a default of 1 RSVP ticket AND show the name & email form on initial page load?

    It appears that the JS is maybe looking for event triggers for the quantity to change before showing the email/name input fields.

    Any advice on how to resolve would be helpful!

    #1142578
    Cliff
    Member

    Hi Tylor. Please undo/remove the customization from that other thread and only add these snippets:

    1) CSS

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

    You can add custom CSS code via your child theme’s style.css file or via a plugin like Simple Custom CSS or, my favorite, Jetpack. Jetpack supports regular CSS and the LESS and Sass pre-processors.

    If you’re not a CSS expert, Jetpack’s Custom Design reference may prove helpful.

    Please let me know how it goes for you.

    2) PHP

    https://gist.github.com/cliffordp/58cb269145d7187a45f9761128fdf338

    Best practice for adding custom code (like to implement a PHP snippet to modify The Events Calendar) is to create a functionality plugin, unless it’s something specific to your theme, in which case best practice is to make sure you’re using a child theme, then add the customization to your child theme’s functions.php file.

    I hope this information helps!

    #1142592
    Tylor
    Participant

    Perfect. This fixed everything. Thank you!

    #1142746
    Cliff
    Member

    Excellent! Have a good one.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘RSVP Form Quantity Default’ is closed to new replies.