Jump to content
thirty bees forum

<Solved> How to use csv import for many colors & sizes for a single product?


alwayspaws

Recommended Posts

  • Replies 142
  • Created
  • Last Reply

Top Posters In This Topic

Well, as I said earlier, that does not work!

ID,Reference #,Combination Reference,Name,Combination Name,Combination Value,Combination Quantity,Categories,"Tags (x,y,z...)",Price,Weight,Short description,Meta title,Meta description,Description,"Image URLs (x,y,z...)",Tax rules ID,"Available for order (0 = No, 1 = Yes)","Show price (0 = No, 1 = Yes)",Active (0/1),Quantity,Minimal quantity,Visibility,IMAGE LABELS (ALT TEXT) 230,230,230-13,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","2XL,baby blue",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-14,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","3XL,baby blue",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-15,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XS,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-16,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","SM,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-17,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","MD,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-18,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","LG,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-19,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XL,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-20,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","2XL,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-21,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","3XL,black",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-22,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XS,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-23,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","SM,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-24,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","MD,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-25,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","LG,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-26,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XL,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-27,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","2XL,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-28,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","3XL,bright pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-29,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XS,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-30,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","SM,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-31,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","MD,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-32,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","LG,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-33,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XL,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-34,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","2XL,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-35,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","3XL,light pink",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-36,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XS,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-37,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","SM,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-38,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","MD,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-39,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","LG,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-40,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XL,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-41,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","2XL,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-42,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","3XL,purple",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-43,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XS,red",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-44,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","SM,red",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-45,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","MD,red",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-46,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","LG,red",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-47,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","XL,red",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-48,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","2XL,red",100,,,18.99,0.05,,,,,,,,,,,,, 230,230,230-49,Humorous Dog Hoodie printed with Why don't you go fetch!,"size,color","3XL,red",100,Dog Clothes; Dog Hoodies,"dog hoodie, hoodies, outerwear, hooded sweatshirts",18.99,0.05,Dog Hoodie - Why don't you go fetch! A funny dog hoodie for dogs and dog lovers! Available in several sizes and colors.,Humorous Dog Hoodie printed with Why don't you go fetch!,Dog Hoodie - Why don't you go fetch! A funny dog hoodie for dogs and dog lovers! Available in several sizes and colors.,"Dog Hoodie - Why don't you go fetch! A funny dog hoodie for dogs and dog lovers! Available in several sizes and colors. Delightful, warm and cozy for your dog and you!",https://www.alwayspaws.com/images/dog_clothes/dog-hoodies/dog-hoodies-hooded-sweatshirt-why-dont-u-go-fetch-blue.jpg,40,1,1,1,75,1,,Funny Dog Hoodie printed on the back with the words Why don't you go Fetch so it shows up on the top of your dog. Available in many colors and sizes.

Link to comment
Share on other sites

right now it is saved with a comma and you need it saved with a semi colon. I would just use the semi colon right now, because that is the default tb format. I had to use a | and a ~ instread of the ; and , because of some the content in the book csv fields.

Link to comment
Share on other sites

I'm sorry, i just imported the combinations. I have no any image and product, so i can't show you much. I just opened the combinations tab in the BO, and saw, that combinations were imported. Actually, i didn't imported all of them because had to go off the office. I can do complete import again within 2 hours.

So, the process is following: 1. In the l.o. calc i open .ods and chose file->save as... , save dialog appears. I set the flag "edit filter settings" 2. In the filter settings dialog i chose a ^ sign as a field delimiter (just because it used rarely, so will avoid possible ambiguities like with commas, semicolons, quotes, et c.), and semicolon as a text delimiter. Also i set the flag "Quote all text cells" 3. After tis the impirt process is made as usual in the TB's BO.

I've figured out, that your file's column structure does not match with one required by TB's BO import tool

Link to comment
Share on other sites

@alwayspaws To open it select comma.

Then go to save as copy. ( I am assuming that openoffice is similar to libreoffice here. ) On the first popup box make sure "edit filter settings" is checked

0_1507832223200_16da8a26-f4b6-4af1-baaa-92c2522b2a36-image.png

Then on the second popup box make sure the ; is selected as the field separator.

0_1507832459766_5b1698ee-286a-4722-9a9c-55d58b93a564-image.png

Then try uploading the newly saved csv and let us know what happens :)

Link to comment
Share on other sites

Something is wrong. I may have to reinstall openoffice calc. I followed what you said @jnsgioia

To open csv's:

To open the csv: select comma. Then go to save as copy - firstly there is no "save as" - I decided to add a word to save it as a newer file.

On the first popup box make sure “edit filter settings” is checked. Done

Then on the second popup box make sure the ; is selected as the field separator. Done

Went to CSV import to import it and the data is wrong. I reopened the file and the data is wrongly formatted there, too.

Correct formatting screenshot before saving as - meaning renaming it:

0_1507837729425_correct formatting.jpg

Formatting is wrong when I try to reopen the same file:

0_1507837775167_wrong formatting when reopened - Screen Shot 2017-10-12 at 3.42.21 PM.jpg

Link to comment
Share on other sites

I tried again with the original .ods file with a comma. Clicked okay. Clicked "save as" csv and checked the "edit filter settings". Clicked Save. The export dialog box opens and I selected semicolon for the field delimiter. Text delimiter had the quote mark so I left it alone. Save cell content as shown is checked. Clicked okay.

My file looks normal until I go to import it. Then it looks like above.

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