${function() {
const variantData = data.variant || {"id":"f66804f9-8d37-4a1a-8c7b-eb0740553a6a","product_id":"b54a42ec-677c-4e35-8cb0-7bac5c32817b","title":"iPhone 12 Pro Max","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"iPhone 12 Pro Max","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"20.99","retail_price":"45","available":true,"url":"\/products\/black-fashion-style-new-iphone-samsung-case?variant=f66804f9-8d37-4a1a-8c7b-eb0740553a6a","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 12 Pro Max"}],"off_ratio":53,"flashsale_info":[],"sales":594};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Size
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f66804f9-8d37-4a1a-8c7b-eb0740553a6a","product_id":"b54a42ec-677c-4e35-8cb0-7bac5c32817b","title":"iPhone 12 Pro Max","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"iPhone 12 Pro Max","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"20.99","retail_price":"45","available":true,"url":"\/products\/black-fashion-style-new-iphone-samsung-case?variant=f66804f9-8d37-4a1a-8c7b-eb0740553a6a","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 12 Pro Max"}],"off_ratio":53,"flashsale_info":[],"sales":594};
return `
`
}()}