Jump to content
thirty bees forum

Recommended Posts

Posted

Hi,

I've a catalog with 1000 products. I'm triying import a update of tags, stock and weight but without success.

My CSV have the columns ID, Tags, Stock, Weight and throw the next error:

Errors occurred:
  • Property Tag->name is empty
 
 

It's posible with the default importer? Anyone can help me?

Regards

  • Like 1
Posted

Thanks, Rafa! 

We're working together: the thing is that we have uploaded all the rest of fields and need to add these we leaved aside before... So uploading aaaaall again is not an option.

Hope you can help us find a solution, thank you so much, guys!

Posted

That's a problem of your csv file, see attached pic, I got the same error when I tried to add an empty tag. I will soon send you a small fix to don't add empty tags to avoid having the error.

Screenshot00872.jpg

Screenshot00873.jpg

  • Like 1
  • Thanks 1
Posted (edited)

Add this code to the \controllers\admin\AdminImportController.php

else{
    unset($product->tags[$key]);
}

This fix can be added to next version of TB.

Screenshot00874.jpg

Edited by Jonny
  • Like 1
  • Thanks 1
Posted
5 hours ago, Jonny said:

That's a problem of your csv file, see attached pic, I got the same error when I tried to add an empty tag. I will soon send you a small fix to don't add empty tags to avoid having the error.

Screenshot00872.jpg

Screenshot00873.jpg

Thank you very much!!! 

The problem was that I had "," more at the end of the column tags.

  • Like 1
  • 2 months 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...