${function() {
const variantData = data.variant || {"id":"ccbb4eb4-1c60-4321-be7a-27bbc73dd25a","product_id":"c80af56d-e614-4ca6-ac44-fc139a248550","title":"white-L","weight_unit":"kg","inventory_quantity":0,"sku":"662302174494-white-L","barcode":"","position":1,"option1":"white","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e67afa65b76d2489a4a8d20689ec607.jpeg","path":"0e67afa65b76d2489a4a8d20689ec607.jpeg","width":800,"height":1000,"alt":"Summer Chic Backless Dress","aspect_ratio":0.8},"wholesale_price":[{"price":36.74,"min_quantity":1}],"weight":"0.35","compare_at_price":"50","price":"36.74","retail_price":"50","available":true,"url":"\/products\/summer-chic-backless-dress-lnct-g5gw?variant=ccbb4eb4-1c60-4321-be7a-27bbc73dd25a","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"L"}],"off_ratio":27,"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.