Question

I am trying to import product through Magento 2 Admin Panel using CSV file. My CSV file looks like below

enter image description here

I have categories like All Category/Bikes, Scooters & Ride-Ons and All Category/Fashion Accessories, All Category/Fashion Accessories/Ladies.

If I import this CSV file I got categories like.

  • All Category/Bikes
  • Scooters & Ride-Ons
  • All Category/Fashion Accessories
  • All Category/Fashion Accessories/Ladies

I tried with below CSV file.

enter image description here

I got below result.

enter image description here

How can I solve this issue ?

Was it helpful?

Solution

Well, I have got a solution for this. Use , in category name and in CSV. It will look the same on frontend as well as admin as shown in the attached image:enter image description here

enter image description here

OTHER TIPS

The commas in your category names must either be within a double-quote enclosed string ("All Category/Bikes, Scooters & Ride-Ons") or escaped. See https://stackoverflow.com/questions/769621/dealing-with-commas-in-a-csv-file

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top