${function() {
const variantData = data.variant || {"id":"01cc3048-95cb-4c09-8249-87588c3c1277","product_id":"819ff4b8-7c5b-4ecb-9fbd-3f0ee1b90b2b","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"103-230523-20-MT0036TPCT-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41fcf4037561218235b6bbc6dd384717.jpeg","path":"41fcf4037561218235b6bbc6dd384717.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/mens-lgbt-gay-pride-rainbow-bear-woof-paw-prints-printing-t-shirt?variant=01cc3048-95cb-4c09-8249-87588c3c1277","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.