DavidSidecar Posted March 18, 2020 Share Posted March 18, 2020 ***///ESPAÑOL///*** Hola!! Quiero subir un csv de productos y poner como categoría principal una nueva categoría que se importa. He estado probando de miles de formas, pero no encuentro la manera de que cuando importe un csv se marque como categoría principal la categoría del producto que quiero. EJEMPLO. Tenemos un producto ya creado. Prod1 Con sus categorías ya puestas y con la principal establecida. Cat1, cat2, cat3 -principal-. CSV: Lo que queremos con el csv es simplemente añadir una nueva categoría "cat4" y que se marque como principal. Por lo tanto, el csv es muy sencillo, dos columnas: ID y categorías. col1 - ID: 1111 col2 - Categorías: Cat1, cat2, cat3, cat4 -queremos esta como principal- ¿ALGUNA IDEA? Hemos probado con todo, poniendo la categoría que queremos en primera posición del csv, creando una categoría test marcando producto solo en esas categoría borrando la categoría y subiendo csv... en fin... mil y un intentos... Un saludo. ***///ENGLISH///*** Hi!! I want to upload a csv of products and put a new imported category as the main category. I've been testing in thousands of ways, but I can't find a way to have the product category I want marked as the main category when I import a csv. EXAMPLE. We have a product already created. Prod1 With their categories already set and with the main one established. Cat1, cat2, cat3 -main-. CSV: What we want with the csv is simply to add a new category "cat4" and to mark it as the main one. Therefore, the csv is very simple, two columns: ID and categories. col1 - ID: 1111 col2 - Categories: Cat1, cat2, cat3, cat4 -we want this as main- ANY IDEAS? We have tried everything, putting the category we want in the first position of the csv, creating a test category marking product only in those categories deleting the category and uploading csv ... well ... a thousand and one attempts ... Greetings. Link to comment Share on other sites More sharing options...
MarcoHEPM Posted March 22, 2020 Share Posted March 22, 2020 Que tal Amigo, Tuve ese problema hace unos dias y dandole muchas vueltas la manera en como lo resolvi fue la siguiente: Yo tenia un CSV con una lista de categorias con sus respectivos IDS y que por cierto empesan en 1 por lo que si o si necesitaba conservar esos IDS, Prestashop tiene un modulo para borrar la información que se carga al momento de instalar se llama cleaner, con ese modulo limpie las tablas de categorias y productos, me di cuenta que Prestashop reserva 2 categorias default con el id 1 y 2 cosa que no me servia, Por lo que la categoria 1 la cambie a 10000 y la categoria 2 a 10002 y cambie el parent de la categoria. De esa manera realice la carga sin problemas y conservando mis ids Otra cosa que no te dicen en ningun lado es que el orden en como carges las categorias en el CSV importa es decir primero van las primeras en el arbol de categorias, utilice el campo left para ordenas. Si necesitas que te explique y ayuda escribeme 8110495098 este es mi WhatsApp Saludos Link to comment Share on other sites More sharing options...
kunalsaj Posted June 23, 2021 Share Posted June 23, 2021 English ================= Is there a solution to this problem? Its weird I can not find how to set the default category during a CSV upload. The last response is about how to upload categories with hierarchy not the solution. We need to know how to set it during a product upload. The solution above is for when uploading categories. Spanish =================== Es raro que no se encuentre la solucion en internet. A mi me pasa lo mismo, no se como definir la categoria principal a la hora de subir productos. La respuesta anterior es como definir categorias como principal pero a la hora de cargar categorias. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now