W122088Rabbit Ear Family Women's Ice Feeling Ultra thin Sun Protection Undercoat
${function() {
const variantData = data.variant || {"id":"601949b3-b5c9-479a-a5b6-220d3d8fa144","product_id":"79fc486f-a0f2-4c11-b530-b8a858dc4c2f","title":"0-\u9ed1\u8272","weight_unit":"kg","inventory_quantity":5,"sku":"W12208895-0-\u9ed1\u8272-A0011619","barcode":"","position":1,"option1":"0","option2":"\u9ed1\u8272","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de4dd3e695c0178d88f7a6728799b673.jpg","path":"de4dd3e695c0178d88f7a6728799b673.jpg","width":700,"height":932,"alt":"","aspect_ratio":0.7510729613733905},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/w122088rabbit-ear-family-womens-ice-feeling-ultra-thin-sun-protection-undercoat?variant=601949b3-b5c9-479a-a5b6-220d3d8fa144","available_quantity":5,"options":[{"name":"\u5c3a\u5bf8","value":"0"},{"name":"\u989c\u8272","value":"\u9ed1\u8272"}],"off_ratio":0,"flashsale_info":[],"sales":19};
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":"601949b3-b5c9-479a-a5b6-220d3d8fa144","product_id":"79fc486f-a0f2-4c11-b530-b8a858dc4c2f","title":"0-\u9ed1\u8272","weight_unit":"kg","inventory_quantity":5,"sku":"W12208895-0-\u9ed1\u8272-A0011619","barcode":"","position":1,"option1":"0","option2":"\u9ed1\u8272","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/de4dd3e695c0178d88f7a6728799b673.jpg","path":"de4dd3e695c0178d88f7a6728799b673.jpg","width":700,"height":932,"alt":"","aspect_ratio":0.7510729613733905},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/w122088rabbit-ear-family-womens-ice-feeling-ultra-thin-sun-protection-undercoat?variant=601949b3-b5c9-479a-a5b6-220d3d8fa144","available_quantity":5,"options":[{"name":"\u5c3a\u5bf8","value":"0"},{"name":"\u989c\u8272","value":"\u9ed1\u8272"}],"off_ratio":0,"flashsale_info":[],"sales":19};
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 `
`;
}()}