hi Sascha
Please, visit this page to understand naming for order/item hooks
https://algolplus.com/plugins/documentation-order-export-woocommerce/
you should use <b>unserialize</b> to get array.
thanks, Alex
Hi Alex,
thanks for your fast reply. As i just have a basic understanding of coding, can you please explain me further.. I have several fields, e.g. plain_orders__attendee_salutation
how can i get them unserialized in the export? What do i need to add to the settings page?
Actually for this field it looks like:
{
“segment”: “misc”,
“key”: “plain_orders__attendee_salutation”,
“label”: “_attendee_salutation”,
“format”: “string”,
“colname”: “Attendee Salutation”
},
i created some custom fields,
how did you do it ?
what plugin do you use ?
Hi Alex,
we created the fields using the functions.php and it looks like this:
woocommerce_form_field( "attendee_salutation[$wbc_product_id][$variation_id]", array(
'type' => 'select',
'class' => array( 'my-field-class form-row-wide' ),
'required' => $required_data,
'label' => __( 'Salutation*' ),
'options' => array(
'Mr.' => __( 'Mr.', 'wps' ),
'Mrs.' => __( 'Mrs.', 'wps' ),
'Ms.' => __( 'Ms.', 'wps' ),
'Dr.' => __( 'Dr.', 'wps' ),
'Prof.' => __( 'Prof.', 'wps' ),
)
),$checkout->get_value( "attendee_salutation[$wbc_product_id][$variation_id]" ));
hi Sascha
“plain_orders__attendee_salutation” won’t work , as you added this field for products ( not for order).
You can try use this topic https://algolplus.freshdesk.com/support/solutions/articles/25000018287-add-calculated-field-for-product-
But it will be faster just submit whole code(functions.php) to helpdesk. I’ll apply your code, review created fields and provide solution.
thanks, Alex
Hello,
Sorry, i know it is not the right place for my question, but i d’ont know where to ask. I receive notification each time there is a question about your plugin. You helped me with my question so i don’t need help anaymore, i would like unsubscribe but i can’t find how. In the email it is written : “Login and visit the topic to reply to the topic or unsubscribe from these emails” but now that i am logged i can’t see where i should change this setting.
Thx a lot !
hi @raph7433
Please, visit https://ww.wp.xz.cn/support/plugin/woo-order-export-lite/ and click “Unsubscribe from this plugin” at top of the page
Done ! thx a lot and congrats again for your great work and great support !