Add category-reference as field in category table #32260
madsoliver
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
When importing/exporting products from/to other systems, I allways use the product reference field to match between the two systems. Sometimes I might use field like EAN13 or one of the other unique, optional, "free", not NOT auto-incremented fields to match the same items for both systems.
Such a non-auto-incremented "reference"-field is NOT available for categories in PrestaShop, and it is a big issue when importing.
Sometimes one can be lucky that the import file has number-type reference, and you ar importing to a fresh prestashop with no existing category structure -> You can actually set the IDs in the prestashop category table.
The solution
Create a new field in the category table, called "reference".
Make it optional.
Make it available i the edit category page.
Make it possible to import, and also make fields like "parent category reference" in the import, so that one can build a category structure from a csv-import file. (today one must do this my category id or name).
Also "category reference" should be a optional field in the product import.
Alternatives
One could always make a module specific
category references
-table, that will serve the same purpose, but seems a bit bulky.Also it makes sense to have the field built into prestashop in order to make the category import better.
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions