Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
April 5, 2016 at 3:29 am in reply to: Tickets reduced to 0 and cannot edit existing tickets #1098235
David
ParticipantHi, yeah sorry I was pushed for time yesterday! I had to comment out references to other shopping carts in the code that you provide to move the tickets purchase form a la;
// 'Tribe__Tickets_Plus__Commerce__EDD__Main', // 'Tribe__Tickets_Plus__Commerce__Shopp__Main', // As of ETP v4.0 Shopp will generate errors when referenced, if not active. Uncomment this line if you have Shopp Active // 'Tribe__Tickets_Plus__Commerce__WPEC__Main', 'Tribe__Tickets_Plus__Commerce__WooCommerce__Main'I found this in another thread on the forum but I forget which one! Apologies…
Many thanks,
PeteApril 4, 2016 at 6:41 am in reply to: Tickets reduced to 0 and cannot edit existing tickets #1097835David
ParticipantHi George, I managed to solve the problem! Thank you for getting back to me though.
January 21, 2016 at 8:18 am in reply to: How to get event ID from Woocommerce Product in cart? #1059971David
ParticipantNever mind, I figured out a way to get what i needed.
For anyone else that might need the event ID, here’s how;function get_tribe_event_ID_from_product($product_id) { if ( class_exists( 'Tribe__Tickets_Plus__Commerce__WooCommerce__Main' )) { $my_tribe = new Tribe__Tickets_Plus__Commerce__WooCommerce__Main(); $my_event_id = get_post_meta($product_id, $my_tribe->event_key, true); return $my_event_id; } }I’m using this to customise the checkout fields in WooCommerce based on ACF fields saved with the event and not the ticket itself.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
