Women's Solid Color Turtleneck Cropped Top and Pants Sweater Set
${function() {
const variantData = data.variant || {"id":"012ccf6b-71bd-4f0f-8372-83b15f9f0dd2","product_id":"4fd25bab-8e01-4be7-901b-0f03b1c0a7f8","title":"White-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSGJ240817186-White-S(US 6-8)","barcode":"","position":1,"option1":"White","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/974b32a70004ed4aa4f9cbcb41eb2298.jpeg","path":"974b32a70004ed4aa4f9cbcb41eb2298.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.99","price":"19.99","retail_price":"51.99","available":true,"url":"\/products\/womens-solid-color-turtleneck-cropped-top-and-pants-sweater-set?variant=012ccf6b-71bd-4f0f-8372-83b15f9f0dd2","available_quantity":999999999,"options":[{"name":"color","value":"White"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":62,"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":"012ccf6b-71bd-4f0f-8372-83b15f9f0dd2","product_id":"4fd25bab-8e01-4be7-901b-0f03b1c0a7f8","title":"White-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSGJ240817186-White-S(US 6-8)","barcode":"","position":1,"option1":"White","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/974b32a70004ed4aa4f9cbcb41eb2298.jpeg","path":"974b32a70004ed4aa4f9cbcb41eb2298.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.99","price":"19.99","retail_price":"51.99","available":true,"url":"\/products\/womens-solid-color-turtleneck-cropped-top-and-pants-sweater-set?variant=012ccf6b-71bd-4f0f-8372-83b15f9f0dd2","available_quantity":999999999,"options":[{"name":"color","value":"White"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":62,"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 `
`;
}()}