So after run through all order lines, I should have the sum value of all " Kontostandeintrag" values in the user_meta field "_kontostandaktuell" for ...
Field Editor (Checkout Manager) for WooCommerce » Update meta data
2020 Update: The latest versions of the WooCommerce API allow updating meta fields that start with an underscore. Yay! You can do so in bulk ...
Is it possible to update an order by adding a new metadata to a line item through the REST API? I tried with $woocommerce = new Client( ...
Step 5: Add Custom Data as Metadata to the Order Items. Step 6:
Or use Zapier to automatically create or update WooCommerce order, customer, ... The existing Meta Data, Meta Data Key and Meta Data Value fields are still ...
You're very close. $order->update_meta_data() will update the meta value inside the $order object, but it will not store the change in the database. To save ...
To add a custom field value to WooCommerce emails — a completed order email, ...
There is at least 2 ways to get custom order item meta data from a defined meta key: 1) Since WooCommerce 3 - Using WC_Data method ...
One of the cooler things about WooCommerce (and WordPress) is the ability to save custom meta for orders, customers, and subscriptions.