${function() {
const variantData = data.variant || {"id":"99f72038-6d0d-46e5-9934-6000b83d58f6","product_id":"fecb9367-486d-4d5c-a566-1b486d1e145a","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ICQ110109C10-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3744165000a687bab82beda6d5a7b2c0.jpeg","path":"3744165000a687bab82beda6d5a7b2c0.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"27.99","retail_price":"40","available":true,"url":"\/products\/stylish-santa-print-shirt-21d05544c-02ae-4094-9d82-7a4844aec4a2?variant=99f72038-6d0d-46e5-9934-6000b83d58f6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":3};
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.