${function() {
const variantData = data.variant || {"id":"205fffd8-300c-4aaf-a6ad-20016e4abd65","product_id":"55114d86-86a6-4edb-83f8-2b3884d43377","title":"orange-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662206221817-orange-2XL","barcode":"","position":1,"option1":"orange","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c3463cfa3713deb18525babe4f7da2b.jpeg","path":"8c3463cfa3713deb18525babe4f7da2b.jpeg","width":800,"height":1000,"alt":"Sunset Backless Resort Dress","aspect_ratio":0.8},"wholesale_price":[{"price":36.33,"min_quantity":1}],"weight":"0","compare_at_price":"63.46","price":"36.33","retail_price":"63.46","available":true,"url":"\/products\/sunset-backless-resort-dress?variant=205fffd8-300c-4aaf-a6ad-20016e4abd65","available_quantity":999999999,"options":[{"name":"Color","value":"orange"},{"name":"Size","value":"2XL"}],"off_ratio":43,"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.