AnsweredAssumed Answered

Extracting information on an import

Question asked by thecakenest on Feb 2, 2018
Latest reply on Feb 2, 2018 by beverly


I have one field that comes up with a lot of gobbledygook and makes it difficult to extract the bits I need during import. Can anyone help please?

 

This is what I get (and can't change it)

 

a:2:{s:15:"info_buyRequest";a:6:{s:4:"uenc";s:72:"aHR0cHM6Ly93d3cuY2FrZW5lc3QuY28udWsvaGFwcHktYmlydGhkYXktY3VwY2FrZS1jYXJk";s:7:"product";s:3:"186";s:28:"selected_configurable_option";s:0:"";s:15:"related_product";s:0:"";s:7:"options";a:3:{i:1374;s:5:"10908";i:1375;s:5:"10918";i:1376;a:1:{i:0;s:5:"10925";}}s:3:"qty";s:1:"1";}s:7:"options";a:3:{i:0;a:7:{s:5:"label";s:16:"Number of slices";s:5:"value";s:8:"2 slices";s:11:"print_value";s:8:"2 slices";s:9:"option_id";s:4:"1374";s:11:"option_type";s:5:"radio";s:12:"option_value";s:5:"10908";s:11:"custom_view";b:0;}i:1;a:7:{s:5:"label";s:7:"Flavour";s:5:"value";s:14:"Salted Caramel";s:11:"print_value";s:14:"Salted Caramel";s:9:"option_id";s:4:"1375";s:11:"option_type";s:9:"drop_down";s:12:"option_value";s:5:"10918";s:11:"custom_view";b:0;}i:2;a:7:{s:5:"label";s:3:"Add";s:5:"value";s:33:"Candle Balloons and Party Blower";s:11:"print_value";s:33:"Candle Balloons and Party Blower";s:9:"option_id";s:4:"1376";s:11:"option_type";s:8:"checkbox";s:12:"option_value";s:5:"10925";s:11:"custom_view";b:0;}}}

 

What I would like to do is something that looks like this

Number of slices: 2 slices; Flavour: Salted Caramel; Candle Balloons and Party Blower

 

If there is a piece of script that would tell me the bits I want that's great or something that would cut the rubbish. Rather irritating that it repeats itself too

 

Thanks!

Outcomes