${function() {
const variantData = data.variant || {"id":"aa74ad12-6e8e-4dd6-a436-bc9f26e1606c","product_id":"ab4b6de6-4d0f-466e-b3c6-86cc85bad363","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240628-A05-MT00719R4V-white-S","barcode":"","position":9,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35a169a47c48b52dd07a7e960270f054.jpeg","path":"35a169a47c48b52dd07a7e960270f054.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/respect-the-locals-shark-marine-life-conservation-art-print-t-shirt-lxs4?variant=aa74ad12-6e8e-4dd6-a436-bc9f26e1606c","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"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.