W122463St * New Spring/Summer Women's Polka Dot Mesh Stand up Collar Bottom
${function() {
const variantData = data.variant || {"id":"d79f0105-51b2-46db-9339-20e40898b935","product_id":"2743f8d7-2452-48f9-8bc0-cac09bc65fdb","title":"\u767d\u8272-S","weight_unit":"kg","inventory_quantity":28,"sku":"W122463120-\u767d\u8272-S-A0012556","barcode":"","position":1,"option1":"\u767d\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/facadca95f1f9a03f5c410e21b4c024d.jpg","path":"facadca95f1f9a03f5c410e21b4c024d.jpg","width":1440,"height":1920,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/w122463st-new-spring-summer-womens-polka-dot-mesh-stand-up-collar-bottom?variant=d79f0105-51b2-46db-9339-20e40898b935","available_quantity":28,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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":"d79f0105-51b2-46db-9339-20e40898b935","product_id":"2743f8d7-2452-48f9-8bc0-cac09bc65fdb","title":"\u767d\u8272-S","weight_unit":"kg","inventory_quantity":28,"sku":"W122463120-\u767d\u8272-S-A0012556","barcode":"","position":1,"option1":"\u767d\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/facadca95f1f9a03f5c410e21b4c024d.jpg","path":"facadca95f1f9a03f5c410e21b4c024d.jpg","width":1440,"height":1920,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/w122463st-new-spring-summer-womens-polka-dot-mesh-stand-up-collar-bottom?variant=d79f0105-51b2-46db-9339-20e40898b935","available_quantity":28,"options":[{"name":"\u989c\u8272","value":"\u767d\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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 `
`;
}()}