Support » Plugin: CSV Importer » wpc-metas with an array

  • poco06

    (@poco06)


    Hello,

    Is it possibel to import this kind of field : wpc-metas but it’s value is not a simple value, but an array that could be serialized :

    a:7:{s:15:”is-customizable”;s:1:”1″;s:21:”can-design-from-blank”;s:1:”1″;s:24:”can-upload-custom-design”;s:1:”1″;s:14:”templates-page”;s:3:”704″;s:18:”ninja-form-options”;s:0:””;i:26;a:4:{s:8:”canvas-w”;s:0:””;s:8:”canvas-h”;s:0:””;s:5:”parts”;a:2:{s:5:”front”;a:3:{s:6:”bg-inc”;s:2:”24″;s:10:”bg-not-inc”;s:0:””;s:2:”ov”;a:2:{s:3:”img”;s:0:””;s:3:”inc”;s:1:”1″;}}s:4:”back”;a:3:{s:6:”bg-inc”;s:2:”25″;s:10:”bg-not-inc”;s:0:””;s:2:”ov”;a:2:{s:3:”img”;s:0:””;s:3:”inc”;s:1:”1″;}}}s:15:”output-settings”;a:4:{s:20:”wpc-min-output-width”;s:0:””;s:21:”wpc-output-loop-delay”;s:0:””;s:27:”wpc-outputpdf-img-number-pp”;s:0:””;s:24:”wpc-outputpdf-img-col-pp”;s:0:””;}}s:13:”pricing-rules”;a:1:{s:7:”group_0″;a:3:{s:5:”rules”;a:1:{s:6:”rule_0″;a:3:{s:5:”param”;s:12:”txt_nb_chars”;s:8:”operator”;s:1:”<“;s:5:”value”;s:0:””;}}s:7:”a_price”;s:0:””;s:5:”scope”;s:4:”item”;}}}

    or unserialized :
    array(7) { [“is-customizable”]=> string(1) “1” [“can-design-from-blank”]=> string(1) “1” [“can-upload-custom-design”]=> string(1) “1” [“templates-page”]=> string(3) “704” [“ninja-form-options”]=> string(0) “” [26]=> array(4) { [“canvas-w”]=> string(0) “” [“canvas-h”]=> string(0) “” [“parts”]=> array(2) { [“front”]=> array(3) { [“bg-inc”]=> string(2) “24” [“bg-not-inc”]=> string(0) “” [“ov”]=> array(2) { [“img”]=> string(0) “” [“inc”]=> string(1) “1” } } [“back”]=> array(3) { [“bg-inc”]=> string(2) “25” [“bg-not-inc”]=> string(0) “” [“ov”]=> array(2) { [“img”]=> string(0) “” [“inc”]=> string(1) “1” } } } [“output-settings”]=> array(4) { [“wpc-min-output-width”]=> string(0) “” [“wpc-output-loop-delay”]=> string(0) “” [“wpc-outputpdf-img-number-pp”]=> string(0) “” [“wpc-outputpdf-img-col-pp”]=> string(0) “” } } [“pricing-rules”]=> array(1) { [“group_0”]=> array(3) { [“rules”]=> array(1) { [“rule_0”]=> array(3) { [“param”]=> string(12) “txt_nb_chars” [“operator”]=> string(1) “<” [“value”]=> string(0) “” } } [“a_price”]=> string(0) “” [“scope”]=> string(4) “item” } } }

    Let me know.
    Regards
    Pat

    https://wordpress.org/plugins/csv-importer/

  • The topic ‘wpc-metas with an array’ is closed to new replies.