Pro ADD to CART button on event list?

Home Forums Ticket Products Event Tickets Plus Pro ADD to CART button on event list?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1146146
    JEFF
    Participant

    Is it possible to put an “add to cart” button on the events list page as opposed to ONLY on the event detail page? Example: this page is where I’d like a button on every listing:

    http://www.paintedcellars.com.php56-30.ord1-1.websitetestlink.com/events/

    Please advise….we have licensed version of Tickets Pro and Calendar Pro

    #1146378
    Brook
    Participant

    Howdy Jeff,

    That is definitely possible. Paste the following snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.

    https://gist.github.com/elimn/565e4768163f72fbcea0402ea9636e2d

    That will add a link to your page with the text “Book Now”. You can change this ticket inside of the snippet if needed. Further the link itself has the CSS class “tribe-events-cta” so you can add some custom styles to if needed. Many themes will not style this button by default.

    Did that do what you wanted?

    Cheers!

    – Brook

    #1146679
    JEFF
    Participant

    Hi,

    So this adds a BOOK NOW link to the event page as opposed to adding one seat to the cart. Is it possible to eliminate the extra clicks? Can I click a button from the list view and add it to the cart?

    thanks

    #1146892
    Brook
    Participant

    Hmm, what would happen if someone clicks that link? Let’s say you have two tickets available for the events, a VIP and a regular, which would it add? I dont’ think it would be wise to skip that page. It seems like it would be a necessary step for the user to select quantity and ticket type before something enters their card.

    Would you rather just include the ticket sales area underneath each item in the list view? That way they could select ticket quantity and type without having to go to the single event page.

    Cheers!

    – Brook

    #1146895
    JEFF
    Participant

    Thanks, I did figure a solution that works for us. One line of php and a shizz ton of css 🙂

    eh voilå… http://www.paintedcellars.com.php56-30.ord1-1.websitetestlink.com/events/list/?tribe_paged=6&tribe_event_display=list

    Ordering with quantity in event list!

    Thank you for your help!

    #1147019
    Brook
    Participant

    Oh that’s beautiful. Thank you for sharing. I’ve not seen someone put the form there but I really like. We might have to make that the customization aye?

    Cheers!

    – Brook

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Pro ADD to CART button on event list?’ is closed to new replies.