Home › Forums › Ticket Products › Event Tickets Plus › Pro ADD to CART button on event list?
- This topic has 6 replies, 3 voices, and was last updated 9 years, 9 months ago by
JEFF.
-
AuthorPosts
-
August 1, 2016 at 9:37 am #1146146
JEFF
ParticipantIs 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
August 1, 2016 at 8:25 pm #1146378Brook
ParticipantHowdy 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
August 2, 2016 at 9:50 am #1146679JEFF
ParticipantHi,
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
August 2, 2016 at 7:06 pm #1146892Brook
ParticipantHmm, 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
August 2, 2016 at 7:19 pm #1146895JEFF
ParticipantThanks, I did figure a solution that works for us. One line of php and a shizz ton of css 🙂
Ordering with quantity in event list!
Thank you for your help!
August 3, 2016 at 7:25 am #1147019Brook
ParticipantOh 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
-
AuthorPosts
- The topic ‘Pro ADD to CART button on event list?’ is closed to new replies.
