Electric-blanket-Heated Shawl Electric Heating Blanket Body Warmer USB Powered Seat Cushion Winter Plush Heating Warm Shawl for Car Office Home-Electric-blanket
Electric-blanket-Heated Shawl Electric Heating Blanket Body Warmer USB Powered Seat Cushion Winter Plush Heating Warm Shawl for Car Office Home-Electric-blanket
${function() {
const variantData = data.variant || {"id":"d5281a02-85c4-47bb-8da7-7d243fb7ef15","product_id":"40b22b89-139b-4b74-8c78-fe6bb2043675","title":"black-China","weight_unit":"kg","inventory_quantity":663,"sku":"-black-China-A0022003666","barcode":"","position":2,"option1":"black","option2":"China","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bfa0ceca7bbb23f7a12a117d053644f1.jpeg","path":"bfa0ceca7bbb23f7a12a117d053644f1.jpeg","width":1601,"height":1601,"alt":"Electric-blanket-Heated Shawl Electric Heating Blanket Body Warmer USB Powered Seat Cushion Winter Plush Heating Warm Shawl for Car Office Home-Electric-blanket","aspect_ratio":1},"wholesale_price":[{"price":54.13,"min_quantity":1}],"weight":"0","compare_at_price":"127.19","price":"54.13","retail_price":"127.19","available":true,"url":"\/products\/electric-blanket-heated-shawl-electric-heating-blanket-body-warmer-usb-powered-seat-cushion-winter-plush-heating-warm-shawl-for-car-office-home?variant=d5281a02-85c4-47bb-8da7-7d243fb7ef15","available_quantity":663,"options":[{"name":"Color","value":"black"},{"name":"Ships From","value":"China"}],"off_ratio":57,"flashsale_info":[],"sales":5486};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
black
${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}
`
}()}
Ships From:
China
${function(){
const optName = "Ships From";
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测试
₫54.13
${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":"d5281a02-85c4-47bb-8da7-7d243fb7ef15","product_id":"40b22b89-139b-4b74-8c78-fe6bb2043675","title":"black-China","weight_unit":"kg","inventory_quantity":663,"sku":"-black-China-A0022003666","barcode":"","position":2,"option1":"black","option2":"China","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bfa0ceca7bbb23f7a12a117d053644f1.jpeg","path":"bfa0ceca7bbb23f7a12a117d053644f1.jpeg","width":1601,"height":1601,"alt":"Electric-blanket-Heated Shawl Electric Heating Blanket Body Warmer USB Powered Seat Cushion Winter Plush Heating Warm Shawl for Car Office Home-Electric-blanket","aspect_ratio":1},"wholesale_price":[{"price":54.13,"min_quantity":1}],"weight":"0","compare_at_price":"127.19","price":"54.13","retail_price":"127.19","available":true,"url":"\/products\/electric-blanket-heated-shawl-electric-heating-blanket-body-warmer-usb-powered-seat-cushion-winter-plush-heating-warm-shawl-for-car-office-home?variant=d5281a02-85c4-47bb-8da7-7d243fb7ef15","available_quantity":663,"options":[{"name":"Color","value":"black"},{"name":"Ships From","value":"China"}],"off_ratio":57,"flashsale_info":[],"sales":5486};
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 ? `
` : ' ';
}
}()}
more payment options
Product was out of stock.
Product is unavailable.
Sku : -black-China-A0022003666
${function(){
const variantData = data.variant || {"id":"d5281a02-85c4-47bb-8da7-7d243fb7ef15","product_id":"40b22b89-139b-4b74-8c78-fe6bb2043675","title":"black-China","weight_unit":"kg","inventory_quantity":663,"sku":"-black-China-A0022003666","barcode":"","position":2,"option1":"black","option2":"China","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bfa0ceca7bbb23f7a12a117d053644f1.jpeg","path":"bfa0ceca7bbb23f7a12a117d053644f1.jpeg","width":1601,"height":1601,"alt":"Electric-blanket-Heated Shawl Electric Heating Blanket Body Warmer USB Powered Seat Cushion Winter Plush Heating Warm Shawl for Car Office Home-Electric-blanket","aspect_ratio":1},"wholesale_price":[{"price":54.13,"min_quantity":1}],"weight":"0","compare_at_price":"127.19","price":"54.13","retail_price":"127.19","available":true,"url":"\/products\/electric-blanket-heated-shawl-electric-heating-blanket-body-warmer-usb-powered-seat-cushion-winter-plush-heating-warm-shawl-for-car-office-home?variant=d5281a02-85c4-47bb-8da7-7d243fb7ef15","available_quantity":663,"options":[{"name":"Color","value":"black"},{"name":"Ships From","value":"China"}],"off_ratio":57,"flashsale_info":[],"sales":5486};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('7');
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}
`;
}()}