Home › Forums › Ticket Products › Event Tickets Plus › Creating a Ticket widget / order form on a page
- This topic has 10 replies, 4 voices, and was last updated 9 years, 7 months ago by
Benjamin.
-
AuthorPosts
-
August 11, 2016 at 11:59 am #1150686
Benjamin
ParticipantI’d like to show a series of tickets for sale on a specific page using Event Tickets Plus. I see the option to create tickets within the page, but it puts it at the very bottom and spans the entire width of the page since i have the page set at 100% width. I’d like to place the tickets higher up on the page and have as much control as possible with this form to create the most clear ordering process for people.
I did find this knowledgeable article but not sure if it applies: https://theeventscalendar.com/knowledgebase/moving-the-rsvp-tickets-form/
Your help is greatly appreciated.
August 11, 2016 at 6:17 pm #1150785Brook
ParticipantHowdy Benjamin,
That one does not quite apply to your needs. However this mini plugin would:
tribe-snippet-tickets-shortcode-2016-08-11
That hides the ticket area from the default location, and add this shortcode: [event_tickets_forms_display] . So install and activate it, then put that shortcode wherever you wanted the tickets to show.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
August 12, 2016 at 10:53 am #1151072Benjamin
ParticipantThis reply is private.
August 14, 2016 at 11:08 pm #1151546Brook
ParticipantThis reply is private.
August 15, 2016 at 9:19 am #1151693Benjamin
ParticipantThis reply is private.
August 15, 2016 at 2:10 pm #1151822Benjamin
ParticipantThis reply is private.
August 16, 2016 at 10:55 pm #1152446Brook
ParticipantHowdy again,
How do I change the order of the tickets as they appear?
To do that you are going to need to modify that plugin that I shared with you. Inside the main file, tribe-snippet-tickets-shortcode.php, you will see this:
protected $et_classes = array( 'Easy_Digital_Downloads' => 'Tribe__Tickets_Plus__Commerce__EDD__Main', 'ShoppVersion' => 'Tribe__Tickets_Plus__Commerce__Shopp__Main', 'WP_eCommerce' => 'Tribe__Tickets_Plus__Commerce__WPEC__Main', 'Woocommerce' => 'Tribe__Tickets_Plus__Commerce__WooCommerce__Main', 'Tribe__Tickets__Tickets' => 'Tribe__Tickets__RSVP', );
That determines the order that the the tickets and such appear in. Move the RSVP line above the Ecommerce engine you use, and it should appear above that engine.
<span style=”line-height: 1.5;”>I’d like the ‘RSVP’ to appear above the ‘Tickets’ and change the title ‘RSVP’ to ‘Member Ticket Request’</span>
It sounds like you would be interested in this tutorial:
Did that do what you need?
Cheers!
– Brook
August 17, 2016 at 9:26 am #1152616Benjamin
ParticipantHI Brook,
The reordering worked very well. thanks.
I did attempt to change the text as it indicated in that article by removing the <?php tag and then adding in those couple lines of code. When i went ahead and saved that file in my WP file editor, it turned up a site error and i had to go back in through ftp to replace the file with the original before my modification. Now, Im very hesitant to make that change. Could you please advise. Thanks
August 17, 2016 at 10:39 pm #1152958Brook
ParticipantExcellent news about the reordering!
I did attempt to change the text as it indicated in that article by removing the <?php tag and then adding in those couple lines of code. When i went ahead and saved that file in my WP file editor, it turned up a site error and i had to go back in through ftp to replace the file with the original before my modification. Now, Im very hesitant to make that change. Could you please advise. Thanks
Doh! That snippet definitely works, but since it requires editing PHP it can be exceptionally easy to break. An extra character like an apostophe, or even just a missing one, can cause the whole site to error out.
What I usually recommend is to replace the <?php tag at the top of your functions.php with the whole snippet. the very first line of your file will be <?php, and since the first line of our snippet is that as well, you can usually replace this first line with the entirety of our snippet.
But if you’re gun shy there is one alternate method available that might be easier for you. You could create a “theme override” by following the steps in our Themer’s Guide . The file you will want to override is: /event-tickets/src/views/tickets/rsvp.php And on line 19 you will see where it outputs the event tickets title. You could actually probably just delete this whole line, since you already have the Member Tickets Request title right above where this appears. Or you could just change the wording. Likewise you could change the wording for the “Confirm RSVP” button near the bottom of this file.
Did one of those work?
Cheers!
– Brook
September 8, 2016 at 9:35 am #1161580Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Creating a Ticket widget / order form on a page’ is closed to new replies.
