Cotton and Linen Casual Round Neck Two-piece Suit
${function() {
const variantData = data.variant || {"id":"ef91cb81-ea6c-42bd-ad42-1b5f85e72c68","product_id":"7b8c1773-c344-41b7-a9c1-de466032083d","title":"dark brown-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSHHP243931-dark brown-S(US 6-8)","barcode":"","position":1,"option1":"dark brown","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e6ceef74c2cb1be569deeef09c500d2.jpeg","path":"9e6ceef74c2cb1be569deeef09c500d2.jpeg","width":500,"height":800,"alt":"","aspect_ratio":0.625},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"19.99","retail_price":"47.99","available":true,"url":"\/products\/cotton-and-linen-casual-round-neck-two-piece-suit?variant=ef91cb81-ea6c-42bd-ad42-1b5f85e72c68","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":58,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"ef91cb81-ea6c-42bd-ad42-1b5f85e72c68","product_id":"7b8c1773-c344-41b7-a9c1-de466032083d","title":"dark brown-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSHHP243931-dark brown-S(US 6-8)","barcode":"","position":1,"option1":"dark brown","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e6ceef74c2cb1be569deeef09c500d2.jpeg","path":"9e6ceef74c2cb1be569deeef09c500d2.jpeg","width":500,"height":800,"alt":"","aspect_ratio":0.625},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"19.99","retail_price":"47.99","available":true,"url":"\/products\/cotton-and-linen-casual-round-neck-two-piece-suit?variant=ef91cb81-ea6c-42bd-ad42-1b5f85e72c68","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
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 `
`;
}()}