${function() {
const variantData = data.variant || {"id":"449324d9-fcd7-4a45-93b3-1c709f5688c8","product_id":"17e49703-9c98-415b-92a5-398852013884","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MSK284791-WHI00S","barcode":"","position":7,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76593994d4e3ec3feeff02fe803c6118.jpeg","path":"76593994d4e3ec3feeff02fe803c6118.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"25.99","retail_price":"42.99","available":true,"url":"\/products\/glitter-santa-print-stand-collar-button-up-mens-sweatshirt-4?variant=449324d9-fcd7-4a45-93b3-1c709f5688c8","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":1};
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.