hi
Do you use this free plugin https://ww.wp.xz.cn/plugins/the-events-calendar/ ? I don’t see any integrations with WooCommerce orders?
Our pro version supports multiple profiles , more details ( you can try demo too) https://docs.algolplus.com/algol_order_export/interface-of-the-profiles-tab/
thanks, Alex
Hello
Could you submit paid version of this plugin (zip file) as new ticket to https://algolplus.freshdesk.com/ ?
Hello
please, follow to https://docs.algolplus.com/algol_order_export/add-calculated-field-for-product/
add keys
ET_name
ET_email
ET_custom_field (use your OWN field names , but add prefix “ET_” )
and put this code to section “Misc Settings”
add_filter( 'woe_fetch_order_product', function($row, $order, $item, $product, $item_meta )
{
$woo_provider = tribe( 'tickets-plus.commerce.woo' );
$attendees = $woo_provider->get_attendees_by_id( $order->get_id() );
if(!$attendees) return $row;
foreach($attendees as $att) {
if($att["product_id"]!=$item->get_product_id()) continue;
$att["attendee_meta"]["name"] = $att["holder_name"];
$att["attendee_meta"]["email"] = $att["holder_email"];
//var_dump($att["attendee_meta"]); die();
foreach($row as $f=>$v) {
if(!preg_match("#^ET_(.+)$#",$f,$m)) continue;
$key = $m[1];
if(!isset($att["attendee_meta"][$key])) continue;
if(is_array($att["attendee_meta"][$key]) )
$att["attendee_meta"][$key] = $att["attendee_meta"][$key]["value"];
if(!empty($v)) $row[$f] .= ", ";
$row[$f] .= $att["attendee_meta"][$key];
}
}
return $row;
},10,5);
Hi thanks for the code it works well. However, if the number of attendees is 3, the column Attendee name will be “A name. B name, C name”. I am wondering if that is the case can we have 3 rows for that order, in each row will show the name of each attendee
-
This reply was modified 2 years, 9 months ago by
loducfc.
please, open “Setup Fields” and set “Add products as” = 10 columns
Hi thanks for your response I just edit the message. If the number of attendees is 3, the column Attendee name will be “A name. B name, C name”. I am wondering if that is the case can we have 3 rows for that order, in each row will show the name of each attendee
please, open “Setup Fields” and set “Add products as” = One Row
hmm that doesn’t work. Right now for the Order 1, the Attendee name field after adding the code, I get “Attendee 1 name, Attendee 2 name”.
I would like to get 2 rows for that order. some thing like this:
Order ID | Attendee Name
1 | Attendee 1 name
1 | Attendee 2 name
please, open “Setup Fields” and set “Add products as” = “Rows”
if it didn’t help – submit your settings as new ticket to https://algolplus.freshdesk.com/ .
You should visit tab “Tools” to get these settings.