${function() {
const variantData = data.variant || {"id":"b024f935-92b1-43e1-a5da-b556427bc7b7","product_id":"7579cae9-4517-4e31-9a3d-e2e48a441573","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00439292","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f67893e0e71e5cca71e5ef1ef2353a85.jpeg","path":"f67893e0e71e5cca71e5ef1ef2353a85.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.98","price":"23.99","retail_price":"41.98","available":true,"url":"\/products\/womens-cotton-linen-comfortable-casual-pants-mlra?variant=b024f935-92b1-43e1-a5da-b556427bc7b7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"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":"b024f935-92b1-43e1-a5da-b556427bc7b7","product_id":"7579cae9-4517-4e31-9a3d-e2e48a441573","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00439292","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f67893e0e71e5cca71e5ef1ef2353a85.jpeg","path":"f67893e0e71e5cca71e5ef1ef2353a85.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.98","price":"23.99","retail_price":"41.98","available":true,"url":"\/products\/womens-cotton-linen-comfortable-casual-pants-mlra?variant=b024f935-92b1-43e1-a5da-b556427bc7b7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
`
}()}