${function() {
const variantData = data.variant || {"id":"b54b039f-9d7b-4f99-afb5-db8ad05e0e92","product_id":"01f83a61-041b-4bdb-aaf7-2553a63b7939","title":"Picture Color","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Picture Color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ba45c8e2259bd07d8e6dde6f2b6a559.jpeg","path":"1ba45c8e2259bd07d8e6dde6f2b6a559.jpeg","width":300,"height":450,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":166.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"166.99","retail_price":"0","available":true,"url":"\/products\/sexy-mermaid-off-the-shoulder-slit-sweetheart-short-sleeve-satin-long-prom-dresses?variant=b54b039f-9d7b-4f99-afb5-db8ad05e0e92","available_quantity":999999999,"options":[{"name":"Color","value":"Picture Color"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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}
`
}()}
Product was out of stock.
Product is unavailable.