{"id":13100332,"date":"2020-07-09T13:01:25","date_gmt":"2020-07-09T13:01:25","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/add-meta-for-each-product\/"},"modified":"2020-07-09T13:01:25","modified_gmt":"2020-07-09T13:01:25","slug":"add-meta-for-each-product","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/add-meta-for-each-product\/","title":{"rendered":"Add Meta for each product"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I am using a custom plugin to add custom text fields to a single product.<br \/>\nThe fields will then be added to the order item with &#8220;woocommerce_add_cart_item_data&#8221; and &#8220;woocommerce_checkout_create_order_line_item&#8221;.<\/p>\n<p>How can I add these custom fields data individually to each of the composite product?<\/p>\n","protected":false},"template":"","class_list":["post-13100332","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13100332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13100332\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13100332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}