${function() {
const variantData = data.variant || {"id":"5fe1f58c-d685-45e2-b24a-b282edf6e21b","product_id":"db2254dd-0b88-4b6b-8f5e-1e1b097cfbb5","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"131A-240306-A07-MT0071C2XZ-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/01e914849fd04f319f5d1094def22fe9.jpeg","path":"01e914849fd04f319f5d1094def22fe9.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\/once-you-know-that-magic-is-real-you-will-be-real-in-the-magic-worlds-monsters-assemble-illustration-printed-t-shirt?variant=5fe1f58c-d685-45e2-b24a-b282edf6e21b","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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.