Jump to content

CSV Import in PrestaShop 1.6: Importing attachments


julienmweb

Recommended Posts

  • 4 months later...

Hi,

 

Are you able to give me support on your coding?

 

I have implemented it, currently i'm wondering how you got Prestashop to accept comma as value separator?

 

I cannot get this to work, in my product import i use semi-colon as a field separator, i use @ as a multiple value separator, and, for example, in the features tab it is coded to accept colon as a separator between feature:value:id.

 

Thanks in advance!

 

Mike

Link to comment
Share on other sites

Hi,

 

Hope i'm not pestering you! 

 

I have now implemented the code into my website, CSV imports without errors but unfortunately it does not import the attachment to the product. It doesn't seem to do anything yet.

 

Is there something i'm missing here? Maybe something missing from the code?

 

Thanks in advance!

 

Mike

Link to comment
Share on other sites

  • 1 month later...

Hi, your code works good, but If someone needs to import hundreds of products with the same attahcment, your code will load the same attachment hundreds of times.

 

I solved the problem adding some lines to your code at https://www.prestashop.com/forums/topic/349844-uploadable-files-pdf-attachment-in-csv-import/page-2

 

Bye

Edited by silvioscavone (see edit history)
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...