${function() {
const variantData = data.variant || {"id":"3c40773a-0d9d-4169-aba1-5981de31d3d9","product_id":"cad8359d-46cf-439c-96c8-66f1c7452020","title":"grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"162-240527-01-MT0071HF6V-grey-S","barcode":"","position":9,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/854c56570d6b001fc6d4451abd7a61fd.jpeg","path":"854c56570d6b001fc6d4451abd7a61fd.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/independence-day-rainbow-element-believe-printed-t-shirt?variant=3c40773a-0d9d-4169-aba1-5981de31d3d9","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"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.