${function() {
const variantData = data.variant || {"id":"044f0762-c169-4e28-b681-af9e8defe031","product_id":"049299da-84fb-44dd-86be-e52a8f50748f","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21041423-black-s","barcode":"","position":5,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a272d3da906a95b4f71ca5febc6963be.jpeg","path":"a272d3da906a95b4f71ca5febc6963be.jpeg","width":800,"height":800,"alt":"Sexy back Slip Dress","aspect_ratio":1},"wholesale_price":[{"price":36.28,"min_quantity":1}],"weight":"0","compare_at_price":"68.46","price":"36.28","retail_price":"68.46","available":true,"url":"\/products\/sexy-back-slip-dress?variant=044f0762-c169-4e28-b681-af9e8defe031","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"s"}],"off_ratio":47,"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.