Problem with the import

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #124993

-- url of the page with the problem -- : acerbos.com/
-- HikaShop version -- : 1308282329
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Chrome

I have imported my products using the following spreadsheet. However none of my products are appearing up under products. The system says all the products were imported.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #125029

Hi,

Don't you have any error message displayed ?
Is your category "Flames" already created ?

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #125049

Xavier,

I do get the following error message. And yes that category does exist already.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #125198

Hi,

In the categories column, you have to enter the id of the category and not the name.
Here is the csv documentation:
www.hikashop.com/support/documentation/73-hikashop-import.html

Finally, you can also have a categories column where you can put a list of categories id or a list of categories namekey.

For example:

product_code,product_name,categories

my_product_1,My first product,"2,13"



This will add one product with 2 categories attached: the category with the id 2 and the one with the id 13. You can find ids of categories on the category listing in the column called ID on the right of the listing.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #125229

HI,

I changed them to the category ids and it is still just saying the products are existing but none of them show up in the product listing. Could it have anything to do with the fact that I have a parent id for all of my products?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #125276

Hi,

A parent id for all of your products ?
When you specify a parent id, it means that you are importing a product variant. A variant can't have a category because it's not a "main product" and the categories are stored in this one.
So, depending your CSV, yes, it could be a problem for the import system.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: dklotz1286

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #125307

I tried removing the parent ID and re-uploading the spreadsheet but it didn't fix the problem. Do I need to create a variant first for each parent product?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #125340

Hi,

The categories must only be set on the main product, so you can let the parent id, but remove leave empty the category field when the line is for a variant.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #125746

Xavier,

I tried doing exactly what you said but all I get back is a message saying the products already exist however none of them display when I click on products or look at any of the parent products.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #125830

Hi,

I think that there is still an error in your csv file. Have you created it manually or is it a hand made csv ?
Thanks to try to let only the useful categories, remove all the categories with no data.

Are you sure that you don't already have products in your shop with the same product code ?
A product code must be unique.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #125872

Hi,

I got the CSV file from this video www.youtube.com/watch?v=t5-qzY83lsg . I then imported all the of the product data I have into the sheet.

These are all brand new products. The Shop is brand new to the website and this is the first set of products I am trying to get setup in the store.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #126070

HI,

Your CSV has several issues.

1. You have a parent_category column which is empty. Please remove it.
2. You have a product_parent_id column with ids which are not specified in the file and the products are apparently not variants so that column shouldn't exist either in your CSV.
3. categories_image, categories_namekey and categories_ordering shouldn't be columns of your CSV if you don't enter anything in them.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #126115

Nicolas,

I removed all the extra columns except the parent ID because these products are children of the main products. So I guess they need to be a variant of parent. How do I set that up. The parent products were already imported into Hikashop and they appear in the products list just fine.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #126116

Hi,

If you want to import variants of products using a CSV, there has to be the lines of the main products in the CSV. And in the product_parent_id column, you need to enter the product_code of the main product.
Also, you need to have a column for the characteristic(s) name with the value of the characteristic(s) for each variant of the product and also the default value of the characteristic(s) for the main product.

That is explained in the import documentation relative to variants/characteristics:
www.hikashop.com/support/documentation/73-hikashop-import.html

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #127173

Hi,

I have tried several things you have suggested and I am stuck I can now get 1 product to import and put there is a variant however, it is not putting in any information that is supposed to be pulled from the child variant. I did as I read in the other tutorials about creating a variant first and then allowing that to pull the child product info as the characteristics it is supposed to do. I attached my csv file. Maybe someone can help me see what I am doing wrong.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #127452

Hi,

You need to enter the variant's charactersitic value in the column of the characteristic for each variant. Right now, that's not the case and that's why it doesn't import the products data properly.

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum