${function() {
const variantData = data.variant || {"id":"b15f9cf6-940b-447b-b4e8-ad4bf5d43af2","product_id":"5ed0cbef-c072-407e-80f6-1442071c758c","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"LUG0012903LVSS","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c51fcf37d36ea14488499dda751718df.jpeg","path":"c51fcf37d36ea14488499dda751718df.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"19.99","retail_price":"33","available":true,"url":"\/products\/unisex-mushroom-man-abstract-print-t-shirt?variant=b15f9cf6-940b-447b-b4e8-ad4bf5d43af2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":4};
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.