${function() {
const variantData = data.variant || {"id":"4a92b828-e32d-4adc-b220-8d1b27f8d521","product_id":"f793a4a7-fed6-4c84-a697-4d7b4a3d5c4c","title":"gray-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66211118177-gray-2XL","barcode":"","position":1,"option1":"gray","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e76cc1f23ba11ddd4257a00a8ca606b.jpeg","path":"2e76cc1f23ba11ddd4257a00a8ca606b.jpeg","width":865,"height":816,"alt":"Lazy simple half high neck loose two-piece sets","aspect_ratio":1.0600490196078431},"wholesale_price":[{"price":52.46,"min_quantity":1}],"weight":"0","compare_at_price":"62.45","price":"52.46","retail_price":"62.45","available":true,"url":"\/products\/lazy-simple-half-high-neck-loose-two-piece-sets?variant=4a92b828-e32d-4adc-b220-8d1b27f8d521","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"2XL"}],"off_ratio":16,"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.