@kimvt1991
Thank you getting back to me. I have tried doing this with product that has a single variation, but it does not work. None of the items I have tested are showing up in the woocommerce product page.
https://www.aliexpress.com/item/4000738595297.html
Above is the item I tested, for example. It is able to import the item into the “Imported List”, but any time I try to import them, the items are removed from the page, and a number comes up next to the “imported” page, indicating that the number of items have been imported, but its false information, because when I go into the “imported” page, none of the items are listed there, and all of the same items have returned to the “import list” with the same hovering red/white number of items.
I have tried to reinstall the software completely, and including woocommerce, as well as the core files of wordpress, but none of that seems to have helped with the issue. I apologize, I just don’t know enough about coding to provide you with more detailed information, though it appears as though alex2693 may have further details that could prove promising. I look forward to being able to use this plugin, it really is a nice feature to have, because having to manually import these product would be a nightmare.
@simowp,
As i said product images are downloaded in the background. Images can not be downloaded will show up on that page so that you can manually download them. The reason can be: image is too large, connection times out…
@alex2693,
Thank you for your great effort debugging it.
This issue only happens with some users so it’s hard for me to debug because i don’t know how to replicate the issue in my environment.
I follow the link you gave but not sure which causes your problem. Please let me know if you figure out anything with your own site.
BTW, Would you mind sharing with me the error message you get?
Best regards
-
This reply was modified 5 years, 7 months ago by
kimvt1991.
@smashinghats,
Yes I think you have the same problem with alex2693.
As i said it’s hard for me to debug because i don’t know how to replicate the issue in my environment. Please wait for an update from alex2693, i think and hope he will find out something.
Thread Starter
simowp
(@simowp)
hi (@alex2693)
I did not understand what you did in the debug could you explain me thanks?
which chat do you know?
The issue wasn’t related with your plugin. I had a wrong configuration in my SSL apache V. host.
The server refused the connection to the 443 port, which was used to send a POST request.
Thread Starter
simowp
(@simowp)
@alex2693
can you tell me then how this my problem is solved thanks?
@simowp @smashinghats @kimvt1991
The simplest way to fix the import – do not send the product to the queue, but post immediately.
Find the line: $process->save()->dispatch() and replace with $process->task($product_data)
It will increase the importing process by 2-3 sec, but will work.
The problem related with async queries in backend, cron, etc.
I’m not sure if it’s the best way to fix it, but I spent on it more then a week.
This problem could be related with proxy based connections, external SSL tunnels (Cloudflare), etc.
@kimvt1991 are there any other cURL/queue actions in the plugin?
Thread Starter
simowp
(@simowp)
@alex2693
Ah ok understood thank you you have been very good! …….. Can you tell me on this page of image errors what should I do? (Image error page) .. Download or cancel?
can I also delete all or block synchronization?
-
This reply was modified 5 years, 7 months ago by
simowp.
Thread Starter
simowp
(@simowp)
@alex2693
my service gives me a maximum of 10 cronjob per day how can I see the import one at a time in real time if I have to wait for the cronjob?
@simowp forget about CRON. You should everything immediatelly, without queue or cron.
You did it once for the product, then you need to do the same for image importer.
Find in the same code the code which means to dispatch ($process->save()->dispatch()) and change with ($process->task()).
By one word, do the same you dod for product – for image now
-
This reply was modified 5 years, 7 months ago by
alex2693.
Thread Starter
simowp
(@simowp)
@alex2693
Ok, thanks …… I’m not good at seeing the plug-in code