Jump to content
thirty bees forum
  • 0

CSV Import (Categories) Bug


Eezee

Question

I'd just installed TB on a localhost to make sure it does everything as expected. Unfortunately, there seems to be a problem with the CSV Import feature. I was thinking the issue was with the CSV file, but when I tried importing the same file using Prestashop. It was imported successfully without any problems.

The CSV file is encoded in UTF-8 and on the BO I made sure it was being separated by , Below is the screenshot of the CSV structure and the error message I'm getting. Anyone know why this is happening? Is there an update or a setting I need to change prior to importing any CSV's in the backend?

CSV Structure. alt text

Error Message alt text

Link to comment
Share on other sites

19 answers to this question

Recommended Posts

  • 0

@Traumflug I've changed Active (0/1) to active, but the result was still the same. I've even tried replacing the 1's next to each item to active but that did not change the outcome. I've uploaded the file for anyone to try uploading to see if they will get the same error.

Here is the file 01496405917063TB_Cat.csv

Link to comment
Share on other sites

  • 0

@Havouza I was hoping not to spend any dime this early on, especially since TB is supposed to be a better version of Presta. Anyways, which module did you end up buying and what version?

Link to comment
Share on other sites

  • 0

I think it will be better. The csv import comes from PS 1.7 if I remember correct. Not everything can be fixed at the same time unfortunately. Import/Update Bulk Product from any Csv/Excel File. Latest version about 60 Euro

Link to comment
Share on other sites

  • 0

I've created a Github issue for this, so this well done problem description doesn't get lost: https://github.com/thirtybees/thirtybees/issues/252

Looking at the test file provided, it displays as .csv file above, but the link behind this is a .xls file. Surprise, surprise ...

Link to comment
Share on other sites

  • 0

@alwayspaws had a problem with only one product showing in a category. I confirmed that when a product was added to a category either by import or in the back office all other products in that category were removed. I restored the product.php file that was replaced by the change above, but left the AdminImportController.php alone. The problem with the products being removed from the category is now fixed and the problem I was having with the products not being marked as active on import also seems to be fixed (so that bug must have been in the AdminImportController.php)

Link to comment
Share on other sites

  • 0

@jnsgioia just in case this fix will work for me, I check that link last week and a couple of times this week and I just don't understand how to implement this update.

Without giving you a lot of work to do or a long explanation for you to type, how do I do this please?

Link to comment
Share on other sites

  • 0

@alwayspaws Download the zip folder from the Github link. (https://github.com/thirtybees/thirtybees). From the downloaded folder copy the two files below into your shop folder.

  1. classes/Product.php
  2. controllers/admin/AdminImportController.php

That's how I got it to work.

Link to comment
Share on other sites

  • 0

@alwayspaws You need the original file classes/product.php file that is in the 1.01 release and the AdminImportController.php file that was corrected the end of May. From the errors you were having I am guessing that you have both of the files that were corrected the end of May, so you just need to replace the Product.php one. You can get it by downloading the file from here, unzipping it on your computer and then uploading just the classes/Product.php file to your site on Siteground.

Link to comment
Share on other sites

  • 0

@Eezee said in CSV Import (Categories) Bug:

@alwayspaws Download the zip folder from the Github link. (https://github.com/thirtybees/thirtybees). From the downloaded folder copy the two files below into your shop folder.

  1. classes/Product.php
  2. controllers/admin/AdminImportController.php

That's how I got it to work.

@Eezee @jnsgioia Thank you for this. I updated those two files since the github files are later updates than what's on our forum download page: https://thirtybees.com/download/

Image problems now / again:

I also split my 792kb csv into seven files. I imported each of these files as products and then as combinations..

There are no product images. All my category images are gone or in the wrong category.

This is a dog cupcake squeaky toy, but it is now in the collars category instead of dog toys. The screenshot shows "collars and leashes" is highlighted (moused over).

0_1497013241197_wrong category.jpg Any suggestions, please.

Link to comment
Share on other sites

  • 0

@Traumflug said in CSV Import (Categories) Bug:

I've created a Github issue for this, so this well done problem description doesn't get lost: https://github.com/thirtybees/thirtybees/issues/252

@mdekker (just in case you want to see this again)

This issue was closed because we thought it was working but I just posted more information:

https://github.com/thirtybees/thirtybees/issues/252

I'm attaching 01501376676657testing-categories-and-tags.csv here because I couldn't attach it to the git post.

Link to comment
Share on other sites

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...