Hi,
It will be nice to add possibility for developer to save order item meta as array in ‘woocommerce_checkout_create_order_line_item’ and ‘add_meta_data’ with key, value, display_key and display_value.
Actually we can’t do that and order item meta key are saved with weird values containing spaces, or other specials chars.
Closed
Last updated: November 24, 2017
Log in to comment on this feature request.
Hey there,
Thank you for getting in touch!
When using the latest Product Add-Ons version (v6.8.2) and place an order containing products with add-ons, then these add-on data will be saved in the ‘_pao_ids’ order meta in an array format. To modify the individual order item meta data, you may use the ‘woocommerce_product_addons_order_line_item_meta’ filter.
If you have any more questions about the data structure, feel free to get in touch via: https://woocommerce.com/my-account/contact-support/