${function() {
const variantData = data.variant || {"id":"342de1f0-f33b-497e-be06-97f67f9089e4","product_id":"71dfca6a-c01f-47f9-8e4f-89481c412dfa","title":"yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"128-240221-A04-MT0071VHQW-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/632d70c7807c5b03b94359e59e7454c2.jpeg","path":"632d70c7807c5b03b94359e59e7454c2.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\/vintage-wolf-crow-sun-pattern-art-design-t-shirt?variant=342de1f0-f33b-497e-be06-97f67f9089e4","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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.