Forum Replies Created
-
AuthorPosts
-
Mohammad Zubair
ParticipantIt seems like it is fixed now by an update of The Events Calendar PRO, specific for this WooCommerce Membership & Events Calendar problem. So this fix is not needed anymore?
February 9, 2015 at 5:08 pm in reply to: Purchase name and email not visible in attendee view #941177Mohammad Zubair
ParticipantHi Barry,
Yes. In WooCommerce it’s possible to ‘disable’ the billing/shipping/account fields in the sense that they are not used to check for its presence (for example in the checkout) with the following code:
unset($fields['billing']['billing_first_name']); unset($fields['billing']['billing_last_name']); unset($fields['billing']['billing_email']);in filter:
woocommerce_checkout_fieldsWhen you do this, the reference to the values of these fields in the orderdata is not created. This means that the meta_keys _billing_first_name, _billing_last_name and _billing_email are not stored.
However, WooTickets is using these keys to acquire the name and email. So I just enabled those fields.February 8, 2015 at 6:12 am in reply to: Purchase name and email not visible in attendee view #940777Mohammad Zubair
ParticipantHi Barry,
I did some digging in the code and I found the problem!
The first name and last name is fetched from the
post_metatable in WordPress, thus the first name and last name are stored as meta data for the order.
However, I ‘disabled’ all the WooCommerce fields (billing_first_name, billing_last_name and others), so the meta key:_billing_first_nameand_billing_last_nameare never stored in the order.
When WooTickets tries to fetch this data, it’s empty.I fixed this by re-enabling the necessary WooCommerce fields and it worked!
February 8, 2015 at 6:06 am in reply to: Sending ticket automatically after purchasing free ticket #940775Mohammad Zubair
ParticipantHi,
Yes it is possible.
Make sure u select “Download” and “Virtual” in the product options of the Ticket in WooCommerce.Mohammad Zubair
ParticipantHi Barry!
wow, thanks for your quick reply!
June 25, 2014 at 8:37 am in reply to: Is it possible to get the attendees names for an event via a ticket? #250244Mohammad Zubair
ParticipantHi Barry,
Firstly, thanks for your quick reply.
Yes, the user will be logged in and is the user that bought the ticket. I was assuming that maybe some WooTicket specific metadata or metakeys were used, for that reason I asked the question here. Thank you for pointing me in the right direction. I’ll do some debugging first, and search in the WooCommerce area. Thumbs up for The Events Calendar and WooTickets 😀 -
AuthorPosts
