Exporting in Serialized format
-
Hi there, i am using “Advanced Order Export For WooCommerce” for order export. I have some custom in put fields in my checkout and i am showing these fiels in woocommerce > orders using this hook “woocommerce_admin_order_totals_after_tax”. This data is in serialize form in data base and meta key is “_participant”. so now when i export data by add field and fill it with meta key it showing me data in this format
s:906:”a:21:{s:14:”part_full_name”;a:1:{i:0;s:19:”Developer Testing 2″;}s:18:”part_contact_phone”;a:1:{i:0;s:11:”45454545454″;}s:20:”additional_checkbox1″;a:1:{i:0;s:2:”on”;}s:20:”additional_checkbox2″;a:1:{i:0;s:2:”on”;}s:9:”occupant1″;a:1:{i:0;s:9:”occupancy”;}s:8:”birthday”;a:1:{i:0;s:10:”1999-06-14″;}s:7:”address”;a:1:{i:0;s:9:”test”;}s:4:”city”;a:1:{i:0;s:4:”test”;}s:5:”state”;a:1:{i:0;s:4:”test”;}s:3:”zip”;a:1:{i:0;s:5:”46000″;}s:8:”pass_num”;a:1:{i:0;s:10:”6AuPQ3d6KH”;}s:17:”upload_img_hideen”;a:1:{i:0;s:0:””;}s:6:”gender”;a:1:{i:0;s:4:”male”;}s:11:”aware_issue”;a:1:{i:0;s:18:”concerns concerns “;}s:11:”require_any”;a:1:{i:0;s:12:”requirements”;}s:13:”note_organize”;a:1:{i:0;s:18:”OrganizerOrganizer”;}s:10:”refference”;a:1:{i:0;s:18:”referred referred “;}s:5:”adult”;a:1:{i:0;s:5:”adult”;}s:9:”knowledge”;a:1:{i:0;s:2:”on”;}s:9:”send_mail”;a:1:{i:0;s:2:”on”;}s:5:”terms”;a:1:{i:0;s:2:”on”;}}”;
i want it to be pretier
Can we do something that when we export the order this data should not be in serialized form.
The topic ‘Exporting in Serialized format’ is closed to new replies.