${function() {
const variantData = data.variant || {"id":"3d087e75-3f79-4763-85d8-52ce6e9a5826","product_id":"87940056-fec3-48b2-a239-cf69a4034acd","title":"Orange-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"2206161614-Orange-2XL","barcode":"","position":1,"option1":"Orange","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e59b61e17411c6d931604af8ee81c93.png","path":"4e59b61e17411c6d931604af8ee81c93.png","width":666,"height":993,"alt":"Chic Summer Backless Dress","aspect_ratio":0.6706948640483383},"wholesale_price":[{"price":36.59,"min_quantity":1}],"weight":"0","compare_at_price":"65.34","price":"36.59","retail_price":"65.34","available":true,"url":"\/products\/chic-summer-backless-dress?variant=3d087e75-3f79-4763-85d8-52ce6e9a5826","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"2XL"}],"off_ratio":44,"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.