${function() {
const variantData = data.variant || {"id":"e395b81b-8226-4f08-84d6-83adfbbba6b1","product_id":"301951bb-a58b-4e77-892e-d6d62bbff581","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Khaki-S-A00437934","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/848d9bf9dbf86b9a4beb9c2819771647.jpeg","path":"848d9bf9dbf86b9a4beb9c2819771647.jpeg","width":562,"height":750,"alt":"","aspect_ratio":0.7493333333333333},"wholesale_price":[{"price":24.37,"min_quantity":1}],"weight":"0","compare_at_price":"39.98","price":"24.37","retail_price":"39.98","available":true,"url":"\/products\/womens-linen-casual-pants-2-6hy0?variant=e395b81b-8226-4f08-84d6-83adfbbba6b1","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${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":"e395b81b-8226-4f08-84d6-83adfbbba6b1","product_id":"301951bb-a58b-4e77-892e-d6d62bbff581","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Khaki-S-A00437934","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/848d9bf9dbf86b9a4beb9c2819771647.jpeg","path":"848d9bf9dbf86b9a4beb9c2819771647.jpeg","width":562,"height":750,"alt":"","aspect_ratio":0.7493333333333333},"wholesale_price":[{"price":24.37,"min_quantity":1}],"weight":"0","compare_at_price":"39.98","price":"24.37","retail_price":"39.98","available":true,"url":"\/products\/womens-linen-casual-pants-2-6hy0?variant=e395b81b-8226-4f08-84d6-83adfbbba6b1","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
`
}()}