Page 1 of 2

Phoca Cart Import

Posted: 28 May 2024, 18:11
by bizsmith
Joomla 5.1
Phoca Cart Beta 5.0.55

Export CSV
make a few adjustments to data
Import Csv, Select File, Upload all good.
Recognizes file and shows record count for import, There are products ready to import: 3
On Import Click, no action, no error message, no debug errors

Is the beta version limited in some way?

Re: Phoca Cart Import

Posted: 29 May 2024, 18:07
by Jan
Hi, no, the beta is not limited, try to see javascript console - network - to see if there is no error when importing. :idea:

Jan

Re: Phoca Cart Import

Posted: 29 May 2024, 18:28
by Jan
BTW, try to test it with version 5.0.0Beta56:
https://github.com/PhocaCz/PhocaCart/re ... Beta56.zip

and let me know if this is still problem.

Jan

Re: Phoca Cart Import

Posted: 31 May 2024, 03:00
by bizsmith
Thanks, I will give B56 a try and see if any changes

Re: Phoca Cart Import

Posted: 31 May 2024, 04:21
by bizsmith
I must be missing something.
I am using Google Sheets, so I will download Libre Office and use their sheet to create the CSV
Is there any specific docs for the import export feature, I have done this before but it has been a few years.
Thanks
Greg

Re: Phoca Cart Import

Posted: 31 May 2024, 17:53
by bizsmith
Joomla 5.1.1
Phoca Cart 5 Beta 56
Thanks for you guidance
No change, same result no import
I used Libre Office to CSV
I check Phoca Cart Main import option was set to CSV
Changed to Cassiopia template from Astroid (latest)
Exported CSV with 6 products in it
uploaded file, it recognized 6 items for import
clicked import and nada, no activity, no import, no change
I only have about 200 products to enter so I will do the manual input for now.
I will test the import in another instance of the site using J4 and cart 4 to see if I get the same results
Thank you

Re: Phoca Cart Import

Posted: 03 Jun 2024, 16:08
by Jan
Ok, but if you get problems when importing, the best way is to take a look at browser devtools and check if the ajax didn't return any error.

Jan

Re: Phoca Cart Import

Posted: 20 Oct 2024, 15:30
by Fotopar
Hello.
Faced the same problem.
Joomla 5.2
Phoca Cart Beta 5.0.0Beta80

I did everything on clean Joomla and Phoca Cart without demo data:

1. Created and exported one product https://skr.sh/sSIU78RmQTU
2. I made a copy of the product in the file, changing the id, title and alias.
3. I downloaded the file, the system determined that there are two products https://skr.sh/sSIQ8YAa5nH
4. Opened the console https://skr.sh/sSIMLyDP43s
5. Clicked import. The system wrote that all the products were loaded, and there were no errors in the console https://skr.sh/sSI84mpvcBH
6. The second product did not appear on the website, in the admin area, or in the database.

I used CSV. I assume that if the error had been in the CSV, the system would not have identified the second product.

Re: Phoca Cart Import

Posted: 20 Oct 2024, 15:42
by Fotopar
I tried xml.
When you try to upload a file, it simply deletes it and offers to add it again.

1. Adding a file https://skr.sh/sSIRIB78mBI
2. Click upload https://skr.sh/sSISmvYHVCw and the file just disappears.

Re: Phoca Cart Import

Posted: 20 Oct 2024, 19:05
by Nidzo
Can you check errors in Browser developer console (F12)?