Women's Colorblock Long Knit Cardigan
${function() {
const variantData = data.variant || {"id":"373e2cd6-0703-453f-b53a-5d57f70128e8","product_id":"f8fa4d5d-cae4-438a-9d09-c5bab3fb5e7c","title":"Pink-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2139424355097","barcode":"","position":1,"option1":"Pink","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a2959a8931c54c4554e786f6cfbe87b.jpeg","path":"3a2959a8931c54c4554e786f6cfbe87b.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":3.4,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"3.4","retail_price":"49.99","available":true,"url":"\/products\/womens-colorblock-long-knit-cardigan-2139424355096?variant=373e2cd6-0703-453f-b53a-5d57f70128e8","available_quantity":999999999,"options":[{"name":"color","value":"Pink"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":93,"flashsale_info":[],"sales":48};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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 `
`;
}()}
${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":"373e2cd6-0703-453f-b53a-5d57f70128e8","product_id":"f8fa4d5d-cae4-438a-9d09-c5bab3fb5e7c","title":"Pink-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2139424355097","barcode":"","position":1,"option1":"Pink","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a2959a8931c54c4554e786f6cfbe87b.jpeg","path":"3a2959a8931c54c4554e786f6cfbe87b.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":3.4,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"3.4","retail_price":"49.99","available":true,"url":"\/products\/womens-colorblock-long-knit-cardigan-2139424355096?variant=373e2cd6-0703-453f-b53a-5d57f70128e8","available_quantity":999999999,"options":[{"name":"color","value":"Pink"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":93,"flashsale_info":[],"sales":48};
return `
`
}()}