Phoca Cart Import

Phoca Cart - complex e-commerce extension
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Phoca Cart Import

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Import

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Import

Post 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
If you find Phoca extensions useful, please support the project
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart Import

Post by bizsmith »

Thanks, I will give B56 a try and see if any changes
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart Import

Post 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
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart Import

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart Import

Post 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
If you find Phoca extensions useful, please support the project
Fotopar
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Oct 2024, 14:10

Re: Phoca Cart Import

Post 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.
Fotopar
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Oct 2024, 14:10

Re: Phoca Cart Import

Post 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.
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: Phoca Cart Import

Post by Nidzo »

Can you check errors in Browser developer console (F12)?
Post Reply