${function() {
const variantData = data.variant || {"id":"98b732ad-5d8f-49d2-976d-11095bd0c2c4","product_id":"3b152863-3504-4950-8b9e-d188d4df2dd1","title":"iPhone 6 \/ 6S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"iPhone 6 \/ 6S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":24.39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.39","retail_price":"0","available":true,"url":"\/products\/leather-iphone-case-luxury-monogram?variant=98b732ad-5d8f-49d2-976d-11095bd0c2c4","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 6 \/ 6S"}],"off_ratio":0,"flashsale_info":[],"sales":282};
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":"98b732ad-5d8f-49d2-976d-11095bd0c2c4","product_id":"3b152863-3504-4950-8b9e-d188d4df2dd1","title":"iPhone 6 \/ 6S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"iPhone 6 \/ 6S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":24.39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.39","retail_price":"0","available":true,"url":"\/products\/leather-iphone-case-luxury-monogram?variant=98b732ad-5d8f-49d2-976d-11095bd0c2c4","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone 6 \/ 6S"}],"off_ratio":0,"flashsale_info":[],"sales":282};
return `
`
}()}