Home › Forums › Ticket Products › Community Tickets › Change of some of the labels on the frontend ticket submission form?
- This topic has 5 replies, 4 voices, and was last updated 7 years, 9 months ago by James O'Sullivan.
-
AuthorPosts
-
May 31, 2016 at 4:46 am #1120573James O’SullivanParticipant
Hi there, on the community tickets plugin there is an option after you click on add new ticket on the frontend form and it says RSVP or woo commerce. I would like to change the name of Woocommerce because my users submitting events would not really know what this means. So can i say something like TICKET PURCHASE instead of WooCommerce for example? Is there a filter for this or code snippet I can add to my functions files for example?
Also in the same area on the add new event form I can see the word Stock, again I would love to change this to capacity maybe? As stock would not make much sense to my event organisers.
Look forward to your response and thanks in advance for your time.
JamesJune 1, 2016 at 6:44 am #1121109BrookParticipantHowdy James,
That is quite possible with a theme override. Unfortunately this is one of the few things that is not translatable/filterable because the name itself comes from the WooCommerce class. However if you create a theme override for [your-theme]/tribe-events/community-tickets/modules/tickets.php and put this in it:
https://gist.github.com/elimn/9270713f8539e3bd8178d35759d9b79a
You should be golden. On line 76 of that you will see it renames WooCommerce to “Tickets”. You can put any name you want in there. More details on theme overrides can be found in our Themer’s Guide if you have not done this before.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
June 1, 2016 at 8:08 am #1121162James O’SullivanParticipantHi Brook, I think that will work for me, I do not mind the theme override for once I can change the wording in the end so this will do the trick.
June 1, 2016 at 1:17 pm #1121341BrookParticipantExcellent! Thanks for getting back James. I’ll leave this open just in case there are any hiccups during implementation.
- Brook
June 16, 2016 at 9:35 am #1127968Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Change of some of the labels on the frontend ticket submission form?’ is closed to new replies.