Iain

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Sort Tickets using Sale End field #1080550
    Iain
    Participant

    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

    in reply to: Sort Tickets using Sale End field #1079610
    Iain
    Participant

    Thanks 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 Ticket

    This 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

    in reply to: Sort Tickets using Sale End field #1078447
    Iain
    Participant

    Hi 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

    in reply to: Sort Tickets using Sale End field #1077594
    Iain
    Participant

    Ok, 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

    in reply to: Sort Tickets using Sale End field #1077412
    Iain
    Participant

    As soon as 4.1?

    Could you give me a rough release date so I can set my clients expectations?

    Thanks, Iain

    in reply to: Recurring Events On Non Regular Schedule #1071270
    Iain
    Participant

    Great news, thanks Brian!

    in reply to: Ticket Description in #1041679
    Iain
    Participant

    Thanks 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

    in reply to: Ticket Description in #1041388
    Iain
    Participant

    Thanks 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

    in reply to: Ticket Description in #1040594
    Iain
    Participant

    Thanks 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

    in reply to: Specify Related Events #1032205
    Iain
    Participant

    Thanks Brian. That answers that 🙂

    in reply to: Adding Meta To Single Event #1028704
    Iain
    Participant

    That worked great thanks!Have a great weekend 🙂

    in reply to: Recurring Events on Non Regular Schedule #1028408
    Iain
    Participant

    Thanks 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

    in reply to: Adding Meta String To Single E #1028407
    Iain
    Participant

    Hi Nico,

    I didn’t realise I was in the pre-sales forum. I’ve reposted in the EC Pro Forum now.

    Iain

    in reply to: Multiple Months of Calendars #1027854
    Iain
    Participant

    Thanks 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

Viewing 14 posts - 1 through 14 (of 14 total)