Products import into db, but don't display

  • Posts: 2
  • Thank you received: 0
10 years 2 days ago #180668

-- url of the page with the problem -- : www.evangelinespec.com/
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.34
-- Browser(s) name and version -- : FIrefox 32
-- Error-message(debug-mod must be tuned on) -- : no error message displying

I have used hikashop for months now, configuring and testing mostly. It has been a pleasure to work with.

I have manually inserted hundreds of products and have had no issues. I recently started to import products via a csv import and had limited success with that process. I have deleted all products at different times for various reasons. My point being, it has worked great for months.

Recently, My imported products are not showing in my products list in hikashop. I get a success message, but the products won't display. I have checked each level of products, from root all the way down to sub catagories. They are not there.

The products are, however, in the db on my hosting server. I can see the products in my db interface. I have attached a copy of the import file (csv), along with screenshots of the successful import picture, and one capture of the product list at the root of products level, and lastly a capture of the products table. I am showing one product, for simplicity, but my database is actually over 2 thousand products.

I will point out that I use the same import csv each time. I have added and delete different columns, but only for display purposes. I didn't have issues, I just changed it around while I was testing. I confirmed each column name was proper, etc.
Where am I going awry? I am wanting to launch this site soon, but this is really holding me up.

Attachments:
Last edit: 10 years 2 days ago by jeaki.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 1 day ago #180685

Hi,

In your CSV, there is no "categories" column with the name of one or several categoreis separated by a ; or a ,
Because of that, the product is indeed added in the database, but is not linked to any category.

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

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #217307

Hi - I have a similar issue. I'm new to hikashop. I am not being able to make the csv upload, show up in the product listing. Only the test item I put in from the add product section - not by CSV. Attached is the CSV. I have the associated categories created. The listing is all displaying in the DB table. However in the DB the categories column does not exist. Can you advise where to look for a solution?
Thx.

File Attachment:

File Name: Hikashop_o...er10.csv
File Size:5 KB


joomla 3.4.4
hikashop business 2.6.0

Attachments:
Last edit: 9 years 1 month ago by james@esgmail.com.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 1 month ago #217329

Hi,

I don't see a problem with your CSV.

There is no categories column and that's normal. The link between the products and the categories is done in the table hikashop_product_category with one row for each link between a category and a product.

Are you sure that the problem is not coming from something else, like the way your products listing is configured ?

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

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #217410

Hi Nicolas -
Trying to figure that out.
On the CSV - should I have a 'categories' column - should that be revised to match the name in the category DB - screen shot of that attached. category_name ???

On the product setup - I've added a screen shot - doesn't seem like anything there that is off.
On the import page - screen shot attached - on product template there is none listed. Could this be it - if so - how do I change it?

Also attaching from your comment on the DB for the product category - the screenshot from that page - with only the one product that was hand loaded - not uploaded.

Thanks!





Attachments:
Last edit: 9 years 1 month ago by james@esgmail.com.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 1 month ago #217413

Hi,

1. You could keep the column name "categories". If you put something else, it won't work.

2. Your screenshots don't show much. The import screen is just for you to import CSVs. It doesn't display products. And your database screenshot is from the hikashop_category, which just lists the categories in your shop. It's different from the hikashop_product_category table which lists the links between the products and the categories.
What you want to look at is the Products menu where you should see your products once you select a category on the left explorer.

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

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #217541

Hi Nicolas,
I'm attaching screenshots of the product_category page along with the products pages.
The one sample1 product I have in is assigned to the froz category and will display under froz or none settings.

It is not showing up on the product_category DB table.
The other products from the CSV are in the DB but not showing on the product listing page.

Any idea how they could be uploading to the DB from the CSV but not appearing in the product listing?

Thank you!
James









Attachments:

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

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #217978

Hello Nicolas - any ideas on why the products or categories are not populating?

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

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #218001

I seem to have figured out the upload problem for the data, the column for 'product_type" needed to be populated with 'main'.
My previous CSV was listed with 'variant'

Now working on the image upload.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 month ago #218052

Hi,

So is the issue with the categories solved ?
If not, the issue is maybe coming from the csv format, some columns, for example "product_description" the text is not between double quotes, and that is potentially breaking the import.

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

  • Posts: 14
  • Thank you received: 0
9 years 1 month ago #218058

Hi Xavier - yes - the issue was that in the product_type column I had it listed as 'variant'. When I changed this to 'main" the items would populate. Now trying to get the photos to import.
Thank you!

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

Time to create page: 0.129 seconds
Powered by Kunena Forum