8 Port 10/100 Fast Ethernet Switch Black with Red Trim
Product Code: 71X5-00208
Availability: In Stock
Processes and Ships Same Day from USA
Price:
$21.72
";
var fb_ad = '';
$.ajax({
url: 'index.php?route=checkout/cart/add',
type: 'post',
data: $('.product-info input[type=\'text\'], .product-info input[type=\'hidden\'], .product-info input[type=\'radio\']:checked, .product-info input[type=\'checkbox\']:checked, .product-info select, .product-info textarea'),
dataType: 'json',
success: function(json) {
$('.success, .atc-blanket .warning, .attention, information, .error').remove();
if (json['error']) {
if (json['error']['option']) {
for (i in json['error']['option']) {
$('#option-' + i).after('
' + json['error']['option'][i] + '');
}
}
if (json['error']['profile']) {
$('select[name="profile_id"]').after('
' + json['error']['profile'] + '');
}
}
if (json['success']) {
$('#notification').html('
' + json['success'] + '
'+fb_ad);
$('.success').fadeIn('slow');
$('#cart-total').html(json['total']);
$(".atc-blanket").remove();
$('html, body').animate({ scrollTop: 0 }, 'slow');
}
},
error: function() {
$(".atc-blanket").remove();
}
});
});
//-->