Jump to content

Error on bulk import of products.csv file


eliteitsolutions.ie

Recommended Posts

I'm having an issue when uploading a bulk import of a products file. It's allowing 102 products to be uploaded to one of my categories but not allowing the other 100+ products to the other categories.

However 2 products from two other categories are being allowed to be uploaded.

This is the error I'm receiving:
 

[PrestaShopException]

Parent category does not exist
at line 374 in file classes/Category.php

368. 		if (!$this->id_parent)369. 			return 0;370. 371. 		$parent_category = new Category((int)$this->id_parent);372. 		if (!Validate::isLoadedObject($parent_category))373. 			throw new PrestaShopException('Parent category does not exist');374. 		return $parent_category->level_depth + 1;375. 	}376. 377. 	/**378. 	  * Re-calculate the values of all branches of the nested tree

 

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...