Jump to content

How to set "default category" in the CSV import file?


Recommended Posts

hi

im importing a csv file to my shop but i have one probleme that when i import a csv file all product are saved in a category that not who i want ...even im doing this :

$product->id_category_default = '7' // 7 is the id of my categorie who i want to be a default category

i found that prestashop have this issue it defined the categorie who have the lowest integer id as default categorie ...

pleeez i neeed help ...i will be greatfull :)

Link to comment
Share on other sites

  • 3 months later...
×
×
  • Create New...