Women's Round Neck Solid Color Sports Two-piece Suit
${function() {
const variantData = data.variant || {"id":"8076bd29-eca8-4a07-b273-929fdecc79f9","product_id":"78f94512-9df7-4a6b-a68d-40e90751f2dd","title":"Gray-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSHMY240819191-Gray-S(US 6-8)","barcode":"","position":1,"option1":"Gray","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2de217ffbac12a28d87643e97551d06d.jpeg","path":"2de217ffbac12a28d87643e97551d06d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"19.99","retail_price":"43.99","available":true,"url":"\/products\/womens-round-neck-solid-color-sports-two-piece-suit?variant=8076bd29-eca8-4a07-b273-929fdecc79f9","available_quantity":999999999,"options":[{"name":"color","value":"Gray"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":55,"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":"8076bd29-eca8-4a07-b273-929fdecc79f9","product_id":"78f94512-9df7-4a6b-a68d-40e90751f2dd","title":"Gray-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSHMY240819191-Gray-S(US 6-8)","barcode":"","position":1,"option1":"Gray","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2de217ffbac12a28d87643e97551d06d.jpeg","path":"2de217ffbac12a28d87643e97551d06d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"19.99","retail_price":"43.99","available":true,"url":"\/products\/womens-round-neck-solid-color-sports-two-piece-suit?variant=8076bd29-eca8-4a07-b273-929fdecc79f9","available_quantity":999999999,"options":[{"name":"color","value":"Gray"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":55,"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 `
`;
}()}