${function() {
const variantData = data.variant || {"id":"338ce7a6-afba-4a5c-87ab-c996a7a4015c","product_id":"345da6c5-8864-4ff1-ab51-43d53fdbb2fe","title":"As picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240207-27-MT0093STV8-As picture-S","barcode":"","position":1,"option1":"As picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49ba0ca98078cc56a0b0ad6619c959c9.jpeg","path":"49ba0ca98078cc56a0b0ad6619c959c9.jpeg","width":1701,"height":2268,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/mens-vintage-retro-abstract-art-print-casual-long-sleeve-shirt-ldgl?variant=338ce7a6-afba-4a5c-87ab-c996a7a4015c","available_quantity":999999999,"options":[{"name":"Color","value":"As picture"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.