Adaptor reductie 4-PIN tată / 2x RCA mamă + alimentare mamă
');
parent.show_notification(json['notification']);
} else {
parent.$('#content').parent().before('
' + json['success'] + '
');
}
parent.$('#cart-total').html(json['total']);
parent.$('#cart-items,.cart-badge').html(json['items_count']);
if (json['items_count']) {
parent.$('#cart-items,.cart-badge').removeClass('count-zero');
} else {
parent.$('#cart-items,.cart-badge').addClass('count-zero');
}
if (Journal['scrollToTop']) {
parent.$('html, body').animate({ scrollTop: 0 }, 'slow');
}
parent.$('.cart-content ul').load('index.php?route=common/cart/info ul li');
if (window.location.href.indexOf('quick_buy=true') !== -1) {
parent.location.href = Journal['checkoutUrl'];
}
if ($btn.data('quick-buy') !== undefined) {
location = Journal['checkoutUrl'];
}
if (parent.window['_QuickCheckout']) {
parent.window['_QuickCheckout'].save();
}
if (json['redirect']) {
parent.location.href = json['redirect'];
}
}
},
error: function(xhr, ajaxOptions, thrownError) {
alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText);
}
});
});
//-->