${function() {
const variantData = data.variant || {"id":"f8c3415c-cb6b-4b29-964a-d5f4b0c3f4b1","product_id":"266f88bc-5cde-41a9-9646-cb1b28535835","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":19.68,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.68","retail_price":"0","available":true,"url":"\/products\/silicone-blue-and-white-porcelain-stayle-iphone-case?variant=f8c3415c-cb6b-4b29-964a-d5f4b0c3f4b1","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 12 Pro Max"}],"off_ratio":0,"flashsale_info":[],"sales":242};
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":"f8c3415c-cb6b-4b29-964a-d5f4b0c3f4b1","product_id":"266f88bc-5cde-41a9-9646-cb1b28535835","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":19.68,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.68","retail_price":"0","available":true,"url":"\/products\/silicone-blue-and-white-porcelain-stayle-iphone-case?variant=f8c3415c-cb6b-4b29-964a-d5f4b0c3f4b1","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 12 Pro Max"}],"off_ratio":0,"flashsale_info":[],"sales":242};
return `
`
}()}