${function() {
const variantData = data.variant || {"id":"6f2c9beb-c5a1-48e6-81dc-6be579b53775","product_id":"292096c0-77d6-4bbc-b03d-2a3ed407119c","title":"green-l","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21031810-green-l","barcode":"","position":1,"option1":"green","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b031db2fdaa763948c2c110419d6cc0.jpeg","path":"8b031db2fdaa763948c2c110419d6cc0.jpeg","width":1240,"height":1240,"alt":"Chic Sexy Back Summer Dress","aspect_ratio":1},"wholesale_price":[{"price":39.56,"min_quantity":1}],"weight":"0","compare_at_price":"73.18","price":"39.56","retail_price":"73.18","available":true,"url":"\/products\/chic-sexy-back-summer-dress-v66r?variant=6f2c9beb-c5a1-48e6-81dc-6be579b53775","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"l"}],"off_ratio":46,"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.