${function() {
const variantData = data.variant || {"id":"e7f522e0-0413-4f36-82a3-4047023931d4","product_id":"c7d24921-abaa-4478-bb93-a136aecea612","title":"yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211031367-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9bc33fe7c5e103475ffcc2ee4fd593ff.jpeg","path":"9bc33fe7c5e103475ffcc2ee4fd593ff.jpeg","width":800,"height":1000,"alt":"Dazzling Yellow Split Two-Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":52.74,"min_quantity":1}],"weight":"0.8","compare_at_price":"62.05","price":"52.74","retail_price":"62.05","available":false,"url":"\/products\/dazzling-yellow-split-two-piece-set?variant=e7f522e0-0413-4f36-82a3-4047023931d4","available_quantity":0,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":15,"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.