Forum Replies Created
-
AuthorPosts
-
Dylan
ParticipantThat isn’t exactly what I was trying to do. I was just trying to get the different attendee post ids after an order so that I can use it to use this code to retrieve their meta values.
$metas = get_post_meta( $attendee, ‘_tribe_tickets_meta’, TRUE );
I am using the action woocommerce_new_order to hook into so I want to be able to get the different $attendee values from the $order_id to access the _tribe_tickets_meta
I may be making that more complex than it needs to be but that was the only way I could think of getting those meta values from the order.
Dylan
ParticipantThat still isn’t working for me.
document.getElementById(“tickcart”).elements[“quantity_9284”].value++;
$(‘#tribe-event-tickets-plus-meta-9284’).css(‘display’, ‘table-row’);That adds a table row that is blank without the meta fieldset.
When I look at the page source the fieldset isn’t simply hidden it never is generated unless I actually use the quantity input to change the quantity. I just can’t seem to figure out how to trigger the generation of the attendee fieldset if I change the quantity with a different element on the page.
Dylan
ParticipantSure I am referring to this in the most recent updates release notes.
Event Tickets Plus 4.2
“Tweak – Added event tickets unique ID generation to have human-readable event ticket identification hashes across events (Thanks to Matt Broffman for submitting this idea on UserVoice!)” -
AuthorPosts
