media_gallery_image category sku created_at price
/c/u/cutting_shafts.jpg Specials 01mb 3/19/2013 22:59 1487
/s/h/shred_bin_3.jpg Cross Cut
/e/c/ecc_switch_3.jpg Destroyit
/2/6/2604ccm.jpg Commercial
Paper Phoenix
These are the details of one product in CSV file. For this product, its showing me a sku, creation date, price and multiple categories & gallery images.
Now the problem is that its showing first media gallery image, first category, sku as 01mb, date as 3/19/2013 22:59, price as 1487 in one row,
then in 2nd row it shows 2nd gallery image, 2nd category, sku as blank, date as blank, price as blank
then in 3rd row(same as 2nd row) and so on.
I have 100s of products this way, they all have multiple images, categories but not showing in the same product data row as above. I want to merge all the media gallery images in same row and in the same column separated with comma(,). For example "/c/u/cutting_shafts.jpg, /s/h/shred_bin_3.jpg, /e/c/ecc_switch_3.jpg, /2/6/2604ccm.jpg"
and same for the categories column.
Is it possible to do this by editing and updating CSV through php?
UPDATE
Below is the screen shot of what is needed:-