${function() {
const variantData = data.variant || {"id":"8835d299-543e-47c7-8ebe-0fc94a3666e7","product_id":"aa0039d0-3ccb-4da8-92f4-97033a4d2f76","title":"beige-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230510961-beige-S","barcode":"","position":1,"option1":"beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f95de48cfe9ca6f4debb84a56164c5b1.jpeg","path":"f95de48cfe9ca6f4debb84a56164c5b1.jpeg","width":800,"height":800,"alt":"Literary solid color loose cotton linen jacket","aspect_ratio":1},"wholesale_price":[{"price":54.73,"min_quantity":1}],"weight":"0.45","compare_at_price":"65","price":"54.73","retail_price":"65","available":true,"url":"\/products\/literary-solid-color-loose-cotton-linen-jacket?variant=8835d299-543e-47c7-8ebe-0fc94a3666e7","available_quantity":999999999,"options":[{"name":"color","value":"beige"},{"name":"size","value":"S"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.