${function() {
const variantData = data.variant || {"id":"95012275-378c-41ad-bfb4-42c859b117aa","product_id":"176f54e0-bd6a-49ad-82de-d4579a4df407","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231205-02-MT0095X7A2-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5777b108a26e26a329c78077582b1cb7.jpeg","path":"5777b108a26e26a329c78077582b1cb7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"31.99","price":"31.99","retail_price":"31.99","available":true,"url":"\/products\/christmas-gift-rainbow-cat-art-print-casual-hoodie-sweatshirt?variant=95012275-378c-41ad-bfb4-42c859b117aa","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"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.