Answer the question
In order to leave comments, you need to log in
Why doesn't it import CSV columns in WooCommerce Import?
I have 2 files. The first entry, 1 line, which contains the columns that need to be imported. It looks like this (working file):
Category;"Product tags";"Article";"Description";"Detailed description";"Short description";"Price";"Discount price";"Quantity in stock" ;"Color";"Cross Products";"Picture";"ATTACHMENT";"ATTACHMENT";"Product Status";virtual;downloadable;file_paths
And there is a second file that I use to populate products (grabbed):
Category;" Product tags";"Article";"Name";"Detailed description";"Short description";"Price";"Discount price";"
$header_set = 'Категория;"Метки товара";"Артикул";"Наименование";"Подробное описание";"Краткое описание";"Цена";"Цена со скидкой";"Кол-во на складе";"Цвет";"Перекрестные товары";"Картинка";"ATTACHMENT";"ATTACHMENT";"Статус товара";virtual;downloadable;file_paths' ;
$win_encode_string_header = array ( iconv( "UTF-8" , "WINDOWS-1251", $header_set ) );
$fileopen = fopen('parsed_data.csv', 'a+');
fputcsv($fileopen, $win_encode_string_header);
fclose($fileopen);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question