${function() {
const variantData = data.variant || {"id":"680afa8f-625f-4de8-a99b-651659933755","product_id":"a07f1217-16fe-4722-8dfd-819fe1d14ad0","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-230921-15-MT0077WFYV-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fbb9026e2d877111a85e9abc71e3c8a5.jpeg","path":"fbb9026e2d877111a85e9abc71e3c8a5.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0.45","compare_at_price":"34.99","price":"34.99","retail_price":"34.99","available":true,"url":"\/products\/retro-cute-cat-ghost-art-halloween-funny-casual-print-knit-pullover-sweater?variant=680afa8f-625f-4de8-a99b-651659933755","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"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.