Product details
LOVE AND BE LOVED 3326 Rabbit Skins Toddler Fleece Hoodie
Color
- Black
- Heather Grey
- Navy
- Pink
- Royal
QTY:
LOVE AND BE LOVED 3326 Rabbit Skins Toddler Fleece Hoodie
Color
- Black
- Heather Grey
- Navy
- Pink
- Royal
QTY:
7.5 oz, 60% cotton/40% polyester fleeceJersey-lined double-needle hem hood and side seam pocketsTop-stitch hood and neckDecoration Type: Digital PrintMade By: Rabbit Skins'
});
})
function addtocart(qty,skus,key,unique){
var data = {
"productId":"475334",
"cartNum":qty,
"new":0
};
if(key){
data.uniqueId = skus[key].unique;
}
if(unique){
data.uniqueId = unique;
}
$.ajax({
url:"?m=jqajax&act=addtocart",
method:"POST",
dataType:"JSON",
data:data,
success :function(e){
layer.closeAll();
console.log(e.error);
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);
}
}
});
}
function addto_sku(qty,skus,key){
$.ajax({
url:"?m=jqajax&act=addto_sku",
method:"POST",
dataType:"JSON",
data: {
id:'475334',
sku: key,
},
success :function(e){
if (e.unique){
let unique = e.unique.replace(/'/g, '');
addtocart(qty,"","",unique);
}
}
});
}
$(".cart-wishlist").click(function(){
$.ajax({
url: "?m=jqajax&act=addwish",
method: "POST",
dataType: "JSON",
data: {
id:'475334'
},
success: function (e) {
console.log(e);
if(e.error == 1){
window.location.href = "/account/login";
}else{
layer.msg("Add favorite successfully!");
}
}
});
});