${function() {
const variantData = data.variant || {"id":"b0952418-543b-43b3-aa69-bc6688de7264","product_id":"3b9779ba-3bb8-4251-a6dd-e20a0b95d10b","title":"yellow-S","weight_unit":"kg","inventory_quantity":999,"sku":"128-231229-A16-MT0071DS87-yellow-S","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a741b05fb973b4c8ba763a01de79c2b0.jpeg","path":"a741b05fb973b4c8ba763a01de79c2b0.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/unisex-sun-god-totem-magic-runes-art-print-design-t-shirt?variant=b0952418-543b-43b3-aa69-bc6688de7264","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.