Home › Forums › Ticket Products › Event Tickets Plus › Changing default product category from "Ticket"
- This topic has 3 replies, 4 voices, and was last updated 8 years, 9 months ago by Leah.
-
AuthorPosts
-
June 30, 2015 at 4:11 am #973797RoniParticipant
Hello,
We are using Woocommerce in Finnish webshop and obviously the default category cannot be “Ticket” but localized as “Tapahtumaliput” (word for “Event Tickets” in Finnish). I figured out from this https://theeventscalendar.com/support/forums/topic/changing-default-product-category-from-ticket-to-events/ that you can rename the category name, but not the slug. Why not? this should be as feature.
With best regards,
Roni Laukkarinen
June 30, 2015 at 11:05 am #973956BrianKeymasterHi,
Sorry for the issues with this. There is a workaround you can do right away before we can look to add a filter.
In this file:
eventscalendar\wp-content\plugins\wootickets\src\Tribe\Main.php
You can edit this on line 433:
wp_set_object_terms( $ticket->ID, ‘Ticket’, ‘product_cat’, true );
There you can change ‘Ticket’ to the name you would like for the category.
After you make that change you can edit the slug of that Product Category here:
Your Site Admin > Products > Categories
I would suggest changing the slug after you have created a ticket with that new name in place. You only have to change the slug if you do not want it to be the same as the name you use to replace ‘Ticket’.
Let me know if you can get that to work.
And unfortunately, the downside of this is every time you update the plugin you would have to make this change to the file.
I have created a ticket for us to either have a filter to change this or a setting in the Events Settings.
Thanks
July 15, 2015 at 7:05 am #986573Support 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.July 20, 2015 at 1:23 pm #988090LeahMemberHi there,
We wanted to check in here and update you on our progress. Although we weren’t able to address your issue in our upcoming release (3.11) we do still have it on our radar. Thank you for your patience while we continue working on a fix for the problem you reported. We will do our best to keep you posted when we have a solution in place. In the meantime, if you need help or find that the issue you reported here is no longer a problem, please feel free to start another thread.
Thanks again for your patience and understanding!
Cheers,
Leah
and the rest of The Events Calendar team -
AuthorPosts
- The topic ‘Changing default product category from "Ticket"’ is closed to new replies.