${function() {
const variantData = data.variant || {"id":"e2732caa-2fb2-496f-9455-2788ae6d3f5b","product_id":"4afd140c-8b22-4429-870c-a7ff32ab5189","title":"iPhone SE 2","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"iPhone SE 2","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":23.39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.39","retail_price":"0","available":true,"url":"\/products\/fashion-leather-hand-lanyard-iphone-sasmsung-case?variant=e2732caa-2fb2-496f-9455-2788ae6d3f5b","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone SE 2"}],"off_ratio":0,"flashsale_info":[],"sales":400};
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":"e2732caa-2fb2-496f-9455-2788ae6d3f5b","product_id":"4afd140c-8b22-4429-870c-a7ff32ab5189","title":"iPhone SE 2","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"iPhone SE 2","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":23.39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.39","retail_price":"0","available":true,"url":"\/products\/fashion-leather-hand-lanyard-iphone-sasmsung-case?variant=e2732caa-2fb2-496f-9455-2788ae6d3f5b","available_quantity":999999999,"options":[{"name":"Size","value":"iPhone SE 2"}],"off_ratio":0,"flashsale_info":[],"sales":400};
return `
`
}()}