${function() {
const variantData = data.variant || {"id":"0275fce3-d264-4c53-af06-c8eb04e07da8","product_id":"cbbc67de-c4ac-4f15-bf9d-c4167da2fec0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WVS108633-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02bacf03bedbd57b61fceb0f532aedf4.jpeg","path":"02bacf03bedbd57b61fceb0f532aedf4.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"20.99","retail_price":"36.99","available":true,"url":"\/products\/womens-cat-silhouette-print-crew-neck-tank-top?variant=0275fce3-d264-4c53-af06-c8eb04e07da8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":1};
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.