${function() {
const variantData = data.variant || {"id":"91e093e4-c02d-4013-829a-db025b135c82","product_id":"f06873a5-fe9f-4a74-8bed-7931b3602ba3","title":"Black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"2205311292-Black-2XL","barcode":"","position":1,"option1":"Black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bbcf505d79f64e789596679c00e58f06.png","path":"bbcf505d79f64e789596679c00e58f06.png","width":800,"height":900,"alt":"Irregular Shoulder Off Solid Color Mini Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":38.26,"min_quantity":1}],"weight":"0","compare_at_price":"60.15","price":"38.26","retail_price":"60.15","available":true,"url":"\/products\/irregular-shoulder-off-solid-color-mini-dress?variant=91e093e4-c02d-4013-829a-db025b135c82","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":36,"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.