${function() {
const variantData = data.variant || {"id":"6b566af0-2fce-4228-86f9-957a1b2352d8","product_id":"3315ca55-9896-4805-af7c-cfe1d98084b6","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031907-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a5d3526231d5dfc21e12339e31513740.jpeg","path":"a5d3526231d5dfc21e12339e31513740.jpeg","width":750,"height":1000,"alt":"Pure Color Cotton Strap Jumpsuit","aspect_ratio":0.75},"wholesale_price":[{"price":33.31,"min_quantity":1}],"weight":"0","compare_at_price":"60.56","price":"33.31","retail_price":"60.56","available":true,"url":"\/products\/pure-color-cotton-strap-jumpsuit?variant=6b566af0-2fce-4228-86f9-957a1b2352d8","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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.