Forum Replies Created
-
AuthorPosts
-
IainParticipant
Hi Cliff,
Sorry, I misunderstood the question 🙂 You are correct in that, there are generally no more than 5 ticket types per event day, and each of those tickets is limited to 6 seats.
Thanks for the developer input too, I’ll give that a shot and see what we come up with.
Tanks again, Iain
IainParticipantThanks for that Clive.
Theoretically there are unlimited ticket types per event, however several have 5 tickets types per event. An example of a typical events would be:
All Day Ticket
Morning Ticket
Afternoon Ticket
Evening Meal Ticket
Evening Meal Guest TicketThis then shows 5 tickets in the list, and if there are 4 events you end up with 20 tickets. This in itself isn’t the end of the world, but when the dates are mixed up it can make it quite hard to find the appropriate ticket.
Thanks, Iain
IainParticipantHi Clive,
I totally understand, and appreciate you looking out for me. My thoughts are that if we can drop some lines into the functions file we can always remove them when the release we need rolls out. My concern is that this release is quite a while away, and in the meantime the ticket order is pretty out of sync.
A simple example of a course is:
COOKING & LIFESTYLE FOR METROPOLIS LIVING-Day workshop Veg & Vn
(screengrab: http://www.screencast.com/t/tHjsYlO36g)If you look at the tickets they show by May, March, July, October. I’ve set ‘sale end’ dates on these for the day before the course, so my thinking was that we could use something similar to https://theeventscalendar.com/knowledgebase/changing-the-order-of-tickets/ but use the ‘sale end’ date as the sorting reference rather than name?
Thanks, Iain
IainParticipantOk, thanks.
So while we’re waiting is it possible to sort the tickets by their “Sale End” field by customising the function shown in how to sort the sort order by date/name?
Thanks, Iain
IainParticipantAs soon as 4.1?
Could you give me a rough release date so I can set my clients expectations?
Thanks, Iain
IainParticipantGreat news, thanks Brian!
IainParticipantThanks again Geoff and sorry for the confusion.
That doesn’t seem to do anything, although I can see what it’s trying to achieve. I just wanted to make sure $Woo__Tickets was still relevant in EC version 4 before I tried anything else.
Thanks, Iain
IainParticipantThanks Geoff.
OK, so I’ve added that line to the woo commerce email (WooCommerce/Templates/Emails/email-order-items.php) but it doesn’t seem to include it. Any ideas?
Here’s the block I’ve added it to, which is what displays the name, qty, etc.
<td class="td" style="text-align:left; vertical-align:middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; word-wrap:break-word;"><?php // Show title/image etc if ( $show_image ) { echo apply_filters( 'woocommerce_order_item_thumbnail', '<div style="margin-bottom: 5px"><img src="' . ( $_product->get_image_id() ? current( wp_get_attachment_image_src( $_product->get_image_id(), 'thumbnail') ) : wc_placeholder_img_src() ) .'" alt="' . esc_attr__( 'Product Image', 'woocommerce' ) . '" height="' . esc_attr( $image_size[1] ) . '" width="' . esc_attr( $image_size[0] ) . '" style="vertical-align:middle; margin-right: 10px;" /></div>', $item ); } // Product name echo apply_filters( 'woocommerce_order_item_name', $item['name'], $item, false ); // Ticket description echo $ticket->description; // SKU if ( $show_sku && is_object( $_product ) && $_product->get_sku() ) { echo ' (#' . $_product->get_sku() . ')'; } // allow other plugins to add additional product information here do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order ); // Variation if ( ! empty( $item_meta->meta ) ) { echo '<br/><small>' . nl2br( $item_meta->display( true, true, '_', "\n" ) ) . '</small>'; } // File URLs if ( $show_download_links ) { $order->display_item_downloads( $item ); } // allow other plugins to add additional product information here do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order ); ?></td>
Thanks, Iain
IainParticipantThanks Geoff,
What’s the syntax for the ‘ticket description’ though? I can see where to add it, but I’ve no idea what to add in.
Thanks, Iain
IainParticipantThanks Brian. That answers that 🙂
IainParticipantThat worked great thanks!Have a great weekend 🙂
IainParticipantThanks Nico,
That makes sense, but it’s a bit of a workaround. Are there any plans to enable specific date selection for recurring events? There is an option to add multiple ‘once’ recurrence already. but no option to select dates for those ‘once’ events.
Thanks, Iain
IainParticipantHi Nico,
I didn’t realise I was in the pre-sales forum. I’ve reposted in the EC Pro Forum now.
Iain
IainParticipantThanks George. At least it wasn’t just me being dim! I’ll pass this onto my client, but I don’t think he wants it bad enough to have custom work done.
Regards,
Iain
-
AuthorPosts