I am using a GF to create Woocommerce products from the frontend. I am storing some of the information to set the defaults for the product inside of the form with post custom field inputs and putting the info in the default value. This worked for all fields except one complex value, which keeps having erroneous meta inserted around it inside the db
The value I am putting in is
a:13:{s:2:"id";s:2:"21";s:13:"display_title";s:0:"";s:19:"display_description";s:0:"";s:25:"disable_woocommerce_price";s:3:"yes";s:12:"price_before";s:0:"";s:11:"price_after";s:0:"";s:20:"disable_calculations";s:3:"yes";s:22:"disable_label_subtotal";s:3:"yes";s:21:"disable_label_options";s:3:"yes";s:19:"disable_label_total";s:3:"yes";s:14:"label_subtotal";s:8:"Subtotal";s:13:"label_options";s:7:"Options";s:11:"label_total";s:5:"Total";}
but it is appearing inside this: s:440:"here"; any ideas why this is happening?