${function() {
const variantData = data.variant || {"id":"523c6489-51b5-4b4a-a639-bab56ec54ef5","product_id":"b86df605-cc2f-4cb2-a504-35e98260ac32","title":"Picture Color","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Picture Color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/68a8166b260626ab2bbb2f9e838df471.jpeg","path":"68a8166b260626ab2bbb2f9e838df471.jpeg","width":683,"height":1024,"alt":"","aspect_ratio":0.6669921875},"wholesale_price":[{"price":192.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"192.99","retail_price":"0","available":true,"url":"\/products\/simple-a-line-burgundy-v-neck-beads-tulle-long-sleeveless-slit-backless-prom-dresses?variant=523c6489-51b5-4b4a-a639-bab56ec54ef5","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.