Forum Replies Created
-
AuthorPosts
-
September 27, 2017 at 8:35 am in reply to: Is it possible to have fieldset options with prices? #1355571
Critter
ParticipantI’ve a post to disable tickets from hijacking the product so that I can use the additional plugin..
that’s at least got me on the right track..
September 26, 2017 at 9:06 am in reply to: Is it possible to have fieldset options with prices? #1354976Critter
ParticipantJennifer – Is it known for sure that the product add-ons by woocommerce is compatible with Event Tickets Plus?
Critter
ParticipantOk… I figured out that I can get the ‘order id’ index by searching the first index of $items ($items[0]) for “Order ID”.
$order_idx = array_search("Order ID", $items[0]);This allows me to pass it into the function later…
$order = wc_get_order( (int) $attendee_record[$order_idx] );Critter
Participant*sigh*
it’s something with the avada-911 style.ignore me. ??
April 26, 2017 at 7:55 am in reply to: Is there any way to split the attendee name into separate fields? #1274683Critter
ParticipantI found a solution and modified it to fit my needs.
function attendee_export_add_phone_split_name( $items ) { $count = 0; foreach ( $items as &$attendee_record ) { // Add the header columns if ( 1 === ++$count ) { $attendee_record[] = 'First Name'; $attendee_record[] = 'Last Name'; $attendee_record[] = 'Phone'; } // Populate the new column in each subsequent row else { // order id is in the 6th index $order = wc_get_order( (int) $attendee_record[6] ); $attendee_record[] = $order->billing_first_name; $attendee_record[] = $order->billing_last_name; $attendee_record[] = $order->billing_phone; } } return $items; } add_filter( 'tribe_events_tickets_attendees_csv_items', 'attendee_export_add_phone_split_name' );April 7, 2017 at 6:52 am in reply to: Ticket Fieldsets / Additional Information not showing up #1266546Critter
Participantugh. what a cluster. I’ve stripped out their function file in a dev copy. The page template does make calls to get_header() and get_footer(). The header.php file does call wp_head(). oh shit. I just found it.. their footer.php file does not call wp_footer(); Adding that fixed the issue. Hot damn. I think I am good to go. Thank you very much.
April 6, 2017 at 11:44 am in reply to: Ticket Fieldsets / Additional Information not showing up #1266118Critter
ParticipantAnyone have any suggestions? I’m not seeing any errors in the browser console.
April 5, 2017 at 8:32 am in reply to: Ticket Fieldsets / Additional Information not showing up #1265039Critter
ParticipantI went through and setup a copy of the site and switched out the theme. Upon doing that.. the additional info elements show as they are supposed to, but with their current theme they do not show.
I’m not sure if something in their theme is missing or what…
Do you have any suggestions on where to start?
Critter
Participantnevermind. *sigh* it might as well be monday.
-
AuthorPosts
