[특별 할인] 연중 최저가! 정상가 $42, 특가 $22--Polar fleece men's standing collar sweatshirt
${function() {
const variantData = data.variant || {"id":"ea031823-e4e1-4364-a23c-3cf2db53b77f","product_id":"bed5ad32-99df-456a-952c-a110bf6d1f55","title":"Orange color-M","weight_unit":"kg","inventory_quantity":16,"sku":"4139-00\u7279\u4ef7\ud83c\ude50\ufe0f50-Orange color-M-A0011993","barcode":"","position":1,"option1":"Orange color","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa06d7b980ac3bfb0f6fb080d4c43ae9.jpg","path":"fa06d7b980ac3bfb0f6fb080d4c43ae9.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-42-\ud2b9\uac00-22-polar-fleece-mens-standing-collar-sweatshirt?variant=ea031823-e4e1-4364-a23c-3cf2db53b77f","available_quantity":16,"options":[{"name":"colour","value":"Orange color"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":16};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Colour:
Orange color
${function(){
const optName = "colour";
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:
M
${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
$22.00
${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":"ea031823-e4e1-4364-a23c-3cf2db53b77f","product_id":"bed5ad32-99df-456a-952c-a110bf6d1f55","title":"Orange color-M","weight_unit":"kg","inventory_quantity":16,"sku":"4139-00\u7279\u4ef7\ud83c\ude50\ufe0f50-Orange color-M-A0011993","barcode":"","position":1,"option1":"Orange color","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa06d7b980ac3bfb0f6fb080d4c43ae9.jpg","path":"fa06d7b980ac3bfb0f6fb080d4c43ae9.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-42-\ud2b9\uac00-22-polar-fleece-mens-standing-collar-sweatshirt?variant=ea031823-e4e1-4364-a23c-3cf2db53b77f","available_quantity":16,"options":[{"name":"colour","value":"Orange color"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":16};
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":"ea031823-e4e1-4364-a23c-3cf2db53b77f","product_id":"bed5ad32-99df-456a-952c-a110bf6d1f55","title":"Orange color-M","weight_unit":"kg","inventory_quantity":16,"sku":"4139-00\u7279\u4ef7\ud83c\ude50\ufe0f50-Orange color-M-A0011993","barcode":"","position":1,"option1":"Orange color","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa06d7b980ac3bfb0f6fb080d4c43ae9.jpg","path":"fa06d7b980ac3bfb0f6fb080d4c43ae9.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-42-\ud2b9\uac00-22-polar-fleece-mens-standing-collar-sweatshirt?variant=ea031823-e4e1-4364-a23c-3cf2db53b77f","available_quantity":16,"options":[{"name":"colour","value":"Orange color"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":16};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}