${function() {
const variantData = data.variant || {"id":"082443ae-b306-4704-8b9e-1d8370f7df33","product_id":"21854cd4-3624-41c9-99ec-f7ac3ac3bff2","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662206021322-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64101e5909ed61aaa6a164080074f994.jpeg","path":"64101e5909ed61aaa6a164080074f994.jpeg","width":800,"height":1000,"alt":"Minimalist Cotton & Linen Two Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":38.09,"min_quantity":1}],"weight":"0","compare_at_price":"69.66","price":"38.09","retail_price":"69.66","available":true,"url":"\/products\/minimalist-chic-cotton-linen-two-piece-jljx?variant=082443ae-b306-4704-8b9e-1d8370f7df33","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"2XL"}],"off_ratio":45,"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.