Product details
Tifosi Swank Rainbow Shine Sunglasses
QTY:
Tifosi Swank Rainbow Shine Sunglasses
QTY:
Swank is retro-value for modern times, carrying the freedom of youth into the excitement and unpredictability of tomorrow. Swank’s light frame is designed for a no-slip fit and is equipped with shatterproof, scratch-resistant lenses covering a spectrum of popular colors.'
});
})
function addtocart(qty,skus,key){
var data = {
"productId":"1028850",
"cartNum":qty,
"new":0
};
if(key){
data.uniqueId = skus[key].unique;
}
$.ajax({
url:"?m=jqajax&act=addtocart",
method:"POST",
dataType:"JSON",
data:data,
success :function(e){
layer.closeAll();
if(e.error == 0){
$(".right-mini-cart-box").html(e.html);
$(".CartCount").html(e.data.count);
$('.drawer-toggle-cart').trigger("click");
}else{
layer.msg(e.msg);
}
}
});
}
$(".cart-wishlist").click(function(){
$.ajax({
url: "?m=jqajax&act=addwish",
method: "POST",
dataType: "JSON",
data: {
id:'1028850'
},
success: function (e) {
console.log(e);
if(e.error == 1){
window.location.href = "/account/login";
}else{
layer.msg("Add favorite successfully!");
}
}
});
});