Home › Forums › Ticket Products › Event Tickets Plus › TICKET NUMBER TOO LONG
- This topic has 4 replies, 2 voices, and was last updated 6 years, 1 month ago by GDPR20191125.
-
AuthorPosts
-
January 21, 2018 at 2:55 am #1431725GDPR20191125Participant
Hello!
I would like to know if is there a way to make the ticket number shorter please ?
Like the SKU maybe.
Actually sometimes we have too big and too long ticket number.
Look the screenshot please.
I noticed that your plug-in takes the first letter of each word of the name of the event, but i would like a shorter name.Can’t way to get a feedback from you!
January 23, 2018 at 2:56 am #1433310AndrasKeymasterHi again suika,
At the moment we are experiencing heavy loads in our help desk. Based on our support policy we don’t usually support customizations, but I’ll try to get back to you on this later when we’re not overloaded. I ask for a bit of patience.
Thanks and cheers,
AndrasFebruary 9, 2018 at 12:53 am #1448624AndrasKeymasterHi Suika,
Thanks for hanging in there.
I was able to dig into this a bit, with partial success.
In the recent versions of Event Tickets Plus the ticket SKU is already generated a bit differently. It follows this pattern:
{ticket-id}-{user-id}{ticket-name}
I did not find any way to change this so that something else is generated. However you are able to set the SKU to your liking when you create the ticket. Open the Advanced section and you’ll be able to define the SKU. (screenshot)
There is also the possibility to totally disable the SKU generation, so it will be left blank. For this copy the following snippet to your theme’s functions.php file:
add_filter( 'event_tickets_woo_should_default_ticket_sku', 'change_ticket_sku', 10, 1 );
function change_ticket_sku( $original_sku ) {
return false;
}Let me know if this helps.
Cheers,
AndrasMarch 3, 2018 at 8:35 am #1469040Support DroidKeymasterHey 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 ‘TICKET NUMBER TOO LONG’ is closed to new replies.