Home › Ali2Woo Tools › Add-ons & Extensions › Import is not possible
- This topic has 6 replies, 5 voices, and was last updated 2 years ago by
Admin.
-
AuthorPosts
-
peter kolev
ParticipantJanuary 17, 2023 at 12:38 pm #14071I tried to import products through the plugin and the chrome Extension but im getting allways an error with undefined. Through the chrome ext. i am getting “Product (id: [OrderID]) Import Failed.”
I am working with the payed version.
if i look into the console there is the following errors:
Uncaught TypeError: t.slice is not a function
at r (store-proxy2.html?iframe_delete=true:16:865)Cross-Origin Read Blocking (CORB)
and
error in this block:
addImportButton: function (k){
MAHtml.appendHtml( document, document.body, MAMessages.productPushButton() );
$( document.body ).on( “click”, “#ma-push-button”, function ( t )
{
t.preventDefault();var params = { ‘id’: k.id };
var reqId = Math.random().toString();
var data = { params, “reqId”: reqId };MAProduct.requestProductInfo( data.params, data.reqId, function ( e )
{var responseData = { “status”: e.status, “data”: e.data, “error_msg”: e.error_msg, “reqId”: e.reqId };
MAProduct.pushProduct( k.url, k.id, k.thumb, k.price_min, k.price_max, k.title, k.currency, responseData.data ).catch( function ( error )
{
console.log( error );
} );} );
for the import direcly through the plugin its showing an Error for this:
const post_import = function (post_data = {}) {
jQuery.post(ajaxurl, post_data).done(function (response) {
var json = jQuery.parseJSON(response);
if (json.state !== ‘ok’) {
console.log(json);
}
if (json.state === ‘error’) {
state.import_error_cnt++;} else {
state.import_cnt++;
}if (on_load_calback) {
on_load_calback(data.id, json.state, json.message, state);
}a2w_js_add_to_import(products_to_import, state, befor_load_calback, on_load_calback);
}).fail(function (xhr, status, error) {
console.log(error);
state.import_error_cnt++;if (on_load_calback) {
on_load_calback(data.id, ‘error’, ‘request error’, state);
}a2w_js_add_to_import(products_to_import, state, befor_load_calback, on_load_calback);
});
}If i install the another version of the plugin its working for a while but than i have to install again another version to make it work.
Can you help me please.
Best Regards
E-King
ParticipantJanuary 18, 2023 at 12:17 pm #14072Maybe in the year 2047 we get help from Ali2Woo, i have already 2 topics without any reply lol
Matthieu
ParticipantAdmin
KeymasterJanuary 24, 2023 at 1:39 am #14081Hello, sorry for the delay. We worked on the new chrome extension update.
Use the manual method to update chrome extension.Patrick Renaud
ParticipantJanuary 25, 2023 at 11:29 pm #14102I have the latest Chrome Extension 2.0, installed manually, and got the same error a peter kolev mentioned. Every importing methods gives the error “Import Failed: Undefined” since lastest update of the plugin itself, version 1.24.3. Where do we download the old version to roll back? Will there be a 1.24.4 to fix this error? Many users are addressing this issue, here and on ThemeForest.
-
This reply was modified 2 years ago by
Patrick Renaud.
peter kolev
ParticipantAdmin
KeymasterJanuary 27, 2023 at 12:11 am #14114Please check the following thread: how to fix “Import failed; Undefined” error.
Also, I close this topic, you can continue the conversation in the linked topic. -
This reply was modified 2 years ago by
-
AuthorPosts
- The topic ‘Import is not possible’ is closed to new replies.