${function() {
const variantData = data.variant || {"id":"42bae68d-8ada-4c4c-b993-6878d96285bf","product_id":"d5685d03-c50f-4502-a777-10ef3f15ef64","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00440558","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a267f13eb6e665e38bd6aab8d122fcd.webp","path":"6a267f13eb6e665e38bd6aab8d122fcd.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.98,"min_quantity":1}],"weight":"0","compare_at_price":"55.96","price":"27.98","retail_price":"55.96","available":true,"url":"\/products\/women-s-casual-elastic-trousers-11847?variant=42bae68d-8ada-4c4c-b993-6878d96285bf","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"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":"42bae68d-8ada-4c4c-b993-6878d96285bf","product_id":"d5685d03-c50f-4502-a777-10ef3f15ef64","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00440558","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a267f13eb6e665e38bd6aab8d122fcd.webp","path":"6a267f13eb6e665e38bd6aab8d122fcd.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.98,"min_quantity":1}],"weight":"0","compare_at_price":"55.96","price":"27.98","retail_price":"55.96","available":true,"url":"\/products\/women-s-casual-elastic-trousers-11847?variant=42bae68d-8ada-4c4c-b993-6878d96285bf","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}