Mobile App Refresh Campaign [Banner] 2024

Product Icon

Product Add-Ons

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

fix order line item metadata keys

currently, order line items metadata gets saved very inconsistently:

// product variation
“key”: “1-kies-je-kip”,

// product addons
“key”: “2. Kies je mix”, <---- here addon price is 0 "key": "3. Kies je extra's (€ 4,00)", <---- price is 4 now, problem with that is whenever addon price/title changes, code that looks for that meta key, needs to be updated. Proposition: add a slug/id field for addons (either user defineable or autogenerated) that will always stay the same (unless addon is removed)

Author

Current Status

Closed

Last updated: February 28, 2019

1 comment

Log in to comment on this feature request.

  1. jaskyt8 says:
    Product Developer May 24, 2024 10:31 am

    Hey there,

    Thank you for getting in touch!

    In the recent Product Add-Ons versions, we have introduced a unique add-on ID in the meta data. Therefore, I recommend updating to the latest version and if you have any additional questions, get in touch via: https://woocommerce.com/my-account/contact-support/.