Import From Folders, Files & Images Not working

  • Posts: 36
  • Thank you received: 1
8 years 6 months ago #239204

The type of the file 'demo282_Columbus_Ave_41_Boston.pdf' is not accepted. The file was skipped.
1 products found : 1 new products imported, 0 invalid product code, 0 already existing products
When I use the Import Products from folders option --> Files & Images it skips the pdf.
When I select files it accepts the pdf.
When I select images, it recognizes the product exists, but it does not add the image to the product.
ideally i want the pdf file (which I sell) and the thumbnail (png) to be picked up and moved automatically.

Last edit: 8 years 6 months ago by joyhanawa. Reason: removed version comment at bottom

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 6 months ago #239247

Hi,

If you get the error The type of the file 'demo282_Columbus_Ave_41_Boston.pdf' is not accepted, it normally means that the pdf extension is not listed in the "Allowed files" setting of the Files section of the HikaShop configuration. Please check on that.

When you say "When I select images, it recognizes the product exists, but it does not add the image to the product." I'm not sure of where and how you do that. Could you provide some screenshots of what you do and the result ?

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

  • Posts: 36
  • Thank you received: 1
8 years 6 months ago #239287


PDF is listed as an accepted file type. The problem is when you select the option "Files & Images".

Steps to reproduce.
Confirm your acceptable file types is .pdf
put a .pdf and a .png in a folder
Components --> Hikashop -->Products-->Imports
Select Import Products from Folder
Select Type: Files & Images

Attachments:
Last edit: 8 years 6 months ago by joyhanawa. Reason: adding more screenshots

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

  • Posts: 36
  • Thank you received: 1
8 years 6 months ago #239307

I think my problem is that I expected this process to move the image to the uploads folder. I understand now that the image has to be in the folder already, and the product will be updated to have a link to the image. I still have the issue with it skipping pdf files.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 6 months ago #239329

Hi,

I hadn't understood that you were talking about the import system.
When you select "files & images" in the import, it means that the system will generate a product for each element in the folder and that element will be added as a file and as an image in the product.
So it can only work with images. Thus, it's normal that you got that error.

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

  • Posts: 36
  • Thank you received: 1
8 years 6 months ago #239353

Hi, it works fine when I only select files, or when I only select images. Maybe you should remove the option for "files & images" since, as you say, "it's normal that I got that error". Errors aren't normal.

Basically you are saying that we can't import both files and images, it's one or the other, and the images always have be stored in the hikashop files path (set in the configuration).

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 6 months ago #239355

Hi,

The "Files and images" works. Put only images in the folder and use that option and you'll see that it will import the images as both files and images in the products.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum