Red Bow Tie Knee High Tube Socks Girls' Christmas Stockings Infants Toddlers Soft Cotton Children Non Slip Floor Socks Baby Gift
${function() {
const variantData = data.variant || {"id":"a1b295f4-fc0e-4302-b5a1-45ff8e1e92fc","product_id":"cc55e950-c72f-48e3-a0d0-aac925a59989","title":"Beige style 4-S 0-1Y","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":22,"option1":"Beige style 4","option2":"S 0-1Y","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b53f820e5d4fcac8ab7c4bcac7f5524.webp","path":"4b53f820e5d4fcac8ab7c4bcac7f5524.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.17,"min_quantity":1}],"weight":"0","compare_at_price":"2.93","price":"1.17","retail_price":"2.93","available":true,"url":"\/products\/red-bow-tie-knee-high-tube-socks-girls-christmas-stockings-infants-toddlers-soft-cotton-children-non-slip-floor-socks-baby-gift?variant=a1b295f4-fc0e-4302-b5a1-45ff8e1e92fc","available_quantity":999999999,"options":[{"name":"Color","value":"Beige style 4"},{"name":"Kid Size","value":"S 0-1Y"}],"off_ratio":60,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Beige style 4
${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}
`
}()}
Kid Size:
S 0-1Y
${function(){
const optName = "Kid 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
$1.17
${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":"a1b295f4-fc0e-4302-b5a1-45ff8e1e92fc","product_id":"cc55e950-c72f-48e3-a0d0-aac925a59989","title":"Beige style 4-S 0-1Y","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":22,"option1":"Beige style 4","option2":"S 0-1Y","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b53f820e5d4fcac8ab7c4bcac7f5524.webp","path":"4b53f820e5d4fcac8ab7c4bcac7f5524.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.17,"min_quantity":1}],"weight":"0","compare_at_price":"2.93","price":"1.17","retail_price":"2.93","available":true,"url":"\/products\/red-bow-tie-knee-high-tube-socks-girls-christmas-stockings-infants-toddlers-soft-cotton-children-non-slip-floor-socks-baby-gift?variant=a1b295f4-fc0e-4302-b5a1-45ff8e1e92fc","available_quantity":999999999,"options":[{"name":"Color","value":"Beige style 4"},{"name":"Kid Size","value":"S 0-1Y"}],"off_ratio":60,"flashsale_info":[],"sales":0};
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 {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"a1b295f4-fc0e-4302-b5a1-45ff8e1e92fc","product_id":"cc55e950-c72f-48e3-a0d0-aac925a59989","title":"Beige style 4-S 0-1Y","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":22,"option1":"Beige style 4","option2":"S 0-1Y","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b53f820e5d4fcac8ab7c4bcac7f5524.webp","path":"4b53f820e5d4fcac8ab7c4bcac7f5524.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":1.17,"min_quantity":1}],"weight":"0","compare_at_price":"2.93","price":"1.17","retail_price":"2.93","available":true,"url":"\/products\/red-bow-tie-knee-high-tube-socks-girls-christmas-stockings-infants-toddlers-soft-cotton-children-non-slip-floor-socks-baby-gift?variant=a1b295f4-fc0e-4302-b5a1-45ff8e1e92fc","available_quantity":999999999,"options":[{"name":"Color","value":"Beige style 4"},{"name":"Kid Size","value":"S 0-1Y"}],"off_ratio":60,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('15');
const maxDays = parseInt('30');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + ' ')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + ' ');
return `
${tipText}
`;
}()}