${function() {
const variantData = data.variant || {"id":"82b1b0d9-76fb-4371-9cef-630fc3984dfe","product_id":"6d6aaf36-5244-4bec-b56e-d3b6c3bdb5d0","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240220-a5-MT0071KXXN-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca5d9ba46ccdcb4bc48937336e4143e3.jpeg","path":"ca5d9ba46ccdcb4bc48937336e4143e3.jpeg","width":1701,"height":2268,"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\/fun-pickle-watercolors-art-print-casual-t-shirt?variant=82b1b0d9-76fb-4371-9cef-630fc3984dfe","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"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.