Hello, I'm trying to setup the import process, starting from a simple csv file, obtained from the output (adding one row).
Every try fails.
The system recognizes the presence of one new record, warns about the risk of overwriting existing items, but nothing else happens.
Any suggestions?
Thanks in advance
Maurizio
Import not working [Version 4.0.7]
-
- Phoca Newbie
- Posts: 6
- Joined: 02 Jun 2021, 21:31
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Import not working [Version 4.0.7]
Hi, do you get the same problem with latest Beta?
https://github.com/PhocaCz/PhocaCart/re ... 8Beta6.zip
Jan
https://github.com/PhocaCz/PhocaCart/re ... 8Beta6.zip
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 02 Jun 2021, 21:31
Re: Import not working [Version 4.0.7]
Hello Jan, thanks for replying me.
I just tried using the 4.0.8Beta6 but the result is the same.
I have an export file containing 1 product.
I added one product (with different ID and name).
The system detect that there are 2 product and warns about overwriting the content.
No update/add is starting pressing the Import button.
One question: is it correct that the first row in the export file is duplicated (see the following sample)?
id title alias sku
ID Title Alias SKU
Thanks in advance
Maurizio
I just tried using the 4.0.8Beta6 but the result is the same.
I have an export file containing 1 product.
I added one product (with different ID and name).
The system detect that there are 2 product and warns about overwriting the content.
No update/add is starting pressing the Import button.
One question: is it correct that the first row in the export file is duplicated (see the following sample)?
id title alias sku
ID Title Alias SKU
Thanks in advance
Maurizio
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Import not working [Version 4.0.7]
Hi, yes, this is correct, the first row is column name in database, the second is human readable title.
1) you can try to export/import XML in case the CSV makes problems for your
2) you can try to debug the import too - if you open javascript console in e.g. Chrome extension, you can see if there is no error while importing:
When you upload the CSV and then you click on Import button, AJAX request will run and you can see in DevTools (in Network tab) the request. Mostly if there is an error, you get 500 message (red message) including the error message there
Jan
1) you can try to export/import XML in case the CSV makes problems for your
2) you can try to debug the import too - if you open javascript console in e.g. Chrome extension, you can see if there is no error while importing:
When you upload the CSV and then you click on Import button, AJAX request will run and you can see in DevTools (in Network tab) the request. Mostly if there is an error, you get 500 message (red message) including the error message there
Jan
If you find Phoca extensions useful, please support the project