SKU : 20747328
Inventory : 27
${function(){
const variantData = data.variant || {"id":"43046a7b-2f28-4c01-a765-0c115f1f0427","product_id":"64f12c6f-cfde-4a72-ab8a-515a24c2967a","title":"Red-One Size","weight_unit":"kg","inventory_quantity":27,"sku":"20747328","barcode":"","position":3,"option1":"Red","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6d8b240c208093e544f9b2a5ea1a39b.jpeg","path":"b6d8b240c208093e544f9b2a5ea1a39b.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.79,"min_quantity":1}],"weight":"0.08","compare_at_price":"7.99","price":"4.79","retail_price":"7.99","available":true,"url":"\/products\/578031-baby-toddler-winter-warm-and-ear-protecting-thickened-plush-hat?variant=43046a7b-2f28-4c01-a765-0c115f1f0427","available_quantity":27,"options":[{"name":"COLOR","value":"Red"},{"name":"SIZE","value":"One Size"}],"off_ratio":40,"flashsale_info":[],"sales":18};
return `
SKU : ${variantData && variantData.sku}
Inventory : ${variantData && variantData.available_quantity}
`
}()}
${function() {
const variantData = data.variant || {"id":"43046a7b-2f28-4c01-a765-0c115f1f0427","product_id":"64f12c6f-cfde-4a72-ab8a-515a24c2967a","title":"Red-One Size","weight_unit":"kg","inventory_quantity":27,"sku":"20747328","barcode":"","position":3,"option1":"Red","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6d8b240c208093e544f9b2a5ea1a39b.jpeg","path":"b6d8b240c208093e544f9b2a5ea1a39b.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.79,"min_quantity":1}],"weight":"0.08","compare_at_price":"7.99","price":"4.79","retail_price":"7.99","available":true,"url":"\/products\/578031-baby-toddler-winter-warm-and-ear-protecting-thickened-plush-hat?variant=43046a7b-2f28-4c01-a765-0c115f1f0427","available_quantity":27,"options":[{"name":"COLOR","value":"Red"},{"name":"SIZE","value":"One Size"}],"off_ratio":40,"flashsale_info":[],"sales":18};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Red
${function(){
const optName = "COLOR";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size
: One Size
${function(){
const optName = "SIZE";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$4.79
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"43046a7b-2f28-4c01-a765-0c115f1f0427","product_id":"64f12c6f-cfde-4a72-ab8a-515a24c2967a","title":"Red-One Size","weight_unit":"kg","inventory_quantity":27,"sku":"20747328","barcode":"","position":3,"option1":"Red","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6d8b240c208093e544f9b2a5ea1a39b.jpeg","path":"b6d8b240c208093e544f9b2a5ea1a39b.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.79,"min_quantity":1}],"weight":"0.08","compare_at_price":"7.99","price":"4.79","retail_price":"7.99","available":true,"url":"\/products\/578031-baby-toddler-winter-warm-and-ear-protecting-thickened-plush-hat?variant=43046a7b-2f28-4c01-a765-0c115f1f0427","available_quantity":27,"options":[{"name":"COLOR","value":"Red"},{"name":"SIZE","value":"One Size"}],"off_ratio":40,"flashsale_info":[],"sales":18};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function() {
const variantData = data.variant || {"id":"43046a7b-2f28-4c01-a765-0c115f1f0427","product_id":"64f12c6f-cfde-4a72-ab8a-515a24c2967a","title":"Red-One Size","weight_unit":"kg","inventory_quantity":27,"sku":"20747328","barcode":"","position":3,"option1":"Red","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6d8b240c208093e544f9b2a5ea1a39b.jpeg","path":"b6d8b240c208093e544f9b2a5ea1a39b.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":4.79,"min_quantity":1}],"weight":"0.08","compare_at_price":"7.99","price":"4.79","retail_price":"7.99","available":true,"url":"\/products\/578031-baby-toddler-winter-warm-and-ear-protecting-thickened-plush-hat?variant=43046a7b-2f28-4c01-a765-0c115f1f0427","available_quantity":27,"options":[{"name":"COLOR","value":"Red"},{"name":"SIZE","value":"One Size"}],"off_ratio":40,"flashsale_info":[],"sales":18};
const value = variantData.available_quantity > 0 ? variantData.available_quantity : 0;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + value + ' ');
return `
`;
}()}
Product Introduction: Keep your little one warm and stylish this winter with our adorable and trendy thickened children's Lei Feng hat made of lush suede, perfect for ages 3-6.
Total lead time = processing time + shipping time
Normal processing time : 1-5 business days
1. Standard shipping: 7-15 business days
2. Express shipping: 5-7 business days
* Mation about deliveries, please visit our Shipping Policy page.