${function() {
const variantData = data.variant || {"id":"9d97107f-102d-4d80-876d-ad3ad5dc5e0f","product_id":"5f89cbd3-a5ac-4793-b56d-66b27c5e454f","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":23.89,"min_quantity":1}],"weight":"0","compare_at_price":"72.73","price":"23.89","retail_price":"72.73","available":true,"url":"\/products\/official-new-thickened-luxury-leather-back-cover-for-apple-iphone?variant=9d97107f-102d-4d80-876d-ad3ad5dc5e0f","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 12 Pro Max"}],"off_ratio":67,"flashsale_info":[],"sales":3};
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":"9d97107f-102d-4d80-876d-ad3ad5dc5e0f","product_id":"5f89cbd3-a5ac-4793-b56d-66b27c5e454f","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":23.89,"min_quantity":1}],"weight":"0","compare_at_price":"72.73","price":"23.89","retail_price":"72.73","available":true,"url":"\/products\/official-new-thickened-luxury-leather-back-cover-for-apple-iphone?variant=9d97107f-102d-4d80-876d-ad3ad5dc5e0f","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 12 Pro Max"}],"off_ratio":67,"flashsale_info":[],"sales":3};
return `
`
}()}