${function() {
const variantData = data.variant || {"id":"0791015f-28f6-4523-9efc-37304f875681","product_id":"cdc0b6c7-d3d3-48e3-b5a5-2fda66867c91","title":"orange-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220714825-orange-2XL","barcode":"","position":1,"option1":"orange","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/46925e193c597a3d1535f92abb03f027.jpeg","path":"46925e193c597a3d1535f92abb03f027.jpeg","width":800,"height":1000,"alt":"Orange Chic Sun Slip Dress","aspect_ratio":0.8},"wholesale_price":[{"price":43.79,"min_quantity":1}],"weight":"0","compare_at_price":"56","price":"43.79","retail_price":"56","available":true,"url":"\/products\/orange-chic-sun-slip-dress?variant=0791015f-28f6-4523-9efc-37304f875681","available_quantity":999999999,"options":[{"name":"Color","value":"orange"},{"name":"Size","value":"2XL"}],"off_ratio":22,"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.