Get more for your money each Wednesday with big savings on selected extensions. Shop this week's deals.
Product Icon

Product Add-Ons for WooCommerce

Trending
by Woo
Offer add-ons like gift wrapping, special messages or other special options for your products.

Add option for save data as array

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.

Author

Current Status

Closed

Last updated: November 24, 2017

1 comment

Log in to comment on this feature request.

  1. jaskyt8 says:
    Product Developer May 13, 2024 12:35 pm

    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/

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.