Jump to content

Importing categories with the same name throws error


Recommended Posts

I am trying to import categories and I've made sure there aren't any duplicates in the "Name" but prestashop 1.5.4.1 still shows a error message:

 

"Note that the category import does not support categories of the same name.

Note that you can have several products with the same reference."

Link to comment
Share on other sites

import$ cat 20130505114616-categories_import.csv | cut -d";" -f3 | sort | uniq -c

1 Advent Calendars

1 Baking

1 Biscuits & Wafers

1 Bread Baking

1 Breads & Cakes

1 Breakfast Cereals

1 Cake Baking

1 Cake Mixes

1 Cheese & Dairy Products

1 Chips & Crisps

1 Chocolate Drinks

1 Chocolates

1 Christmas Baking

1 Christmas Biscuits

1 Christmas Chocolates

1 Christmas Confectionary

1 Christmas Leftovers

1 Christmas Products

1 Coffee

1 Condiments

1 Condiments – Maggi

1 Confectionary

1 Cooked Meats

1 Cooking Sauces

1 Cooking Sausages

1 Desserts & Puddings

1 Dressings & Vinegar

1 Female Hygiene

1 Fish & Seafood

1 Fix Products – Knorr

1 Fix Products – Maggi

1 Flour

1 Fresh Products

1 Fresh Ready Meals

1 Fresh Specialities

1 Fresh Sweets

1 Fresh Vegetables

1 From Our Bakery

1 Gift Vouchers

1 Gingerbreads

1 Gingerbreads in presentation tins

1 Groceries

1 Ham & Bacon

1 Hampers

1 Happy Easter

1 Health

1 Herbs Spices & Seasonings

1 Horseradish

1 Jams & Spreads

1 Ketchup

1 Kitchen Accessories

1 Knorr Products

1 Liquorices & Wine Gums

1 Maggi Products

1 Mayonnaise

1 Milka

1 Miscellaneous

1 Mustards

1 Name*

1 Non Food

1 Non Food – Christmas

1 Not From Our Bakery

1 Other Chocolates

1 Other Sweets

1 Pasta & Potato Products

1 Pasta Products

1 Personal Hygiene

1 Pickles & Gherkins

1 Potato Products

1 Preserved Fruits

1 Preserved Vegetables

1 Pulses & Grains

1 Ready Meals

1 Ritter Sport

1 Salads

1 Salatkr&oumlnung

1 Sauces – Knorr

1 Sauces – Maggi

1 Sausages Ham & Meats

1 Seasonings

1 Slicing Sausages & Salamis

1 Soups & Stocks – Knorr

1 Soups & Stocks – Maggi

1 Special Offers

1 Spreading Sausages

1 Stollen & Baumkuchen

1 Sugar

1 Sweets

1 Syrups Softdrinks & Juice

1 Tea

1 Tea Coffee Bewerages

1 Tinned Fish

1 Tinned Ready Meals

1 Tinned Soups & Casseroles

1 Tins & Jars

Link to comment
Share on other sites

hi may be it s du to this 1 Name "*" ? or the "&" ... ?

try to import without those line 1 Advent Calendars 1 Baking 1 Bread Baking 1 Breakfast Cereals 1 Cake Baking 1 Cake Mixes 1 Chocolate Drinks 1 Chocolates 1 Christmas Baking 1 Christmas Biscuits 1 Christmas Chocolates 1 Christmas Confectionary 1 Christmas Leftovers 1 Christmas Products 1 Coffee 1 Condiments 1 Condiments – Maggi 1 Confectionary 1 Cooked Meats 1 Cooking Sauces 1 Cooking Sausages 1 Female Hygiene 1 Fix Products – Knorr 1 Fix Products – Maggi 1 Flour 1 Fresh Products 1 Fresh Ready Meals 1 Fresh Specialities 1 Fresh Sweets 1 Fresh Vegetables 1 From Our Bakery 1 Gift Vouchers 1 Gingerbreads 1 Gingerbreads in presentation tins 1 Groceries 1 Hampers 1 Happy Easter 1 Health 1 Horseradish 1 Ketchup 1 Kitchen Accessories 1 Knorr Products 1 Maggi Products 1 Mayonnaise 1 Milka 1 Miscellaneous 1 Mustards 1 Non Food 1 Non Food – Christmas 1 Not From Our Bakery 1 Other Chocolates 1 Other Sweets 1 Pasta Products 1 Personal Hygiene 1 Potato Products 1 Preserved Fruits 1 Preserved Vegetables 1 Ready Meals 1 Ritter Sport 1 Salads 1 Sauces – Knorr 1 Sauces – Maggi 1 Seasonings 1 Special Offers 1 Spreading Sausages 1 Sugar 1 Sweets 1 Tea 1 Tea Coffee Bewerages 1 Tinned Fish 1 Tinned Ready Meals

Link to comment
Share on other sites

  • Thanks lagrandeours

 

The Name* is from the heading, and i'm ignoring it while importing. The error I get shows up just after I upload the csv. I tried removing the two lines, just the same

Link to comment
Share on other sites

how many languages do you have in your website ?

and witch tool that you use to import your csv ?

 

Categories CSV import

 

I have only begun customising, so it only has EN (US) and EN (UK)

Link to comment
Share on other sites

I am trying to import categories and I've made sure there aren't any duplicates in the "Name" but prestashop 1.5.4.1 still shows a error message:

 

"Note that the category import does not support categories of the same name.

Note that you can have several products with the same reference."

 

I must add, the import is successfull even though I see this error message. But I want to be sure nothing else is broken...

Link to comment
Share on other sites

I've just managed to re-install prestashop, and have not done any customisation and I see the error already!! Something to check with either the test data that prestashop ships with.

Link to comment
Share on other sites

×
×
  • Create New...