[특별 할인] Discounted PP004 Women's Short Skirt
${function() {
const variantData = data.variant || {"id":"21f0ca1d-74ee-4a83-8a02-b1cad829618f","product_id":"f22f61d1-ce2f-4a68-9aec-eab353870a93","title":"\u767d\u8272-S","weight_unit":"kg","inventory_quantity":2,"sku":"PP004-\u7279\u4ef750-\u767d\u8272-S-A0011772","barcode":"","position":4,"option1":"\u767d\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a32ea0f7e54c284106475f3dfa1b50d.jpg","path":"1a32ea0f7e54c284106475f3dfa1b50d.jpg","width":1080,"height":1030,"alt":"","aspect_ratio":1.0485436893203883},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-discounted-pp004-womens-short-skirt?variant=21f0ca1d-74ee-4a83-8a02-b1cad829618f","available_quantity":2,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":6};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"21f0ca1d-74ee-4a83-8a02-b1cad829618f","product_id":"f22f61d1-ce2f-4a68-9aec-eab353870a93","title":"\u767d\u8272-S","weight_unit":"kg","inventory_quantity":2,"sku":"PP004-\u7279\u4ef750-\u767d\u8272-S-A0011772","barcode":"","position":4,"option1":"\u767d\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a32ea0f7e54c284106475f3dfa1b50d.jpg","path":"1a32ea0f7e54c284106475f3dfa1b50d.jpg","width":1080,"height":1030,"alt":"","aspect_ratio":1.0485436893203883},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-discounted-pp004-womens-short-skirt?variant=21f0ca1d-74ee-4a83-8a02-b1cad829618f","available_quantity":2,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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 `
`;
}()}