${function() {
const variantData = data.variant || {"id":"fa38a4cf-f842-4553-8bd8-588c490843f4","product_id":"fdac4784-9a29-4707-aa83-4817cbc30eec","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MSK290795-BLA00S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5fc97f7814d9961158d43e8598b7a285.jpeg","path":"5fc97f7814d9961158d43e8598b7a285.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"36.99","retail_price":"40.99","available":true,"url":"\/products\/mens-outdoor-retro-three-dimensional-deer-print-stand-collar-button-sweatshirt?variant=fa38a4cf-f842-4553-8bd8-588c490843f4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":10,"flashsale_info":[],"sales":19};
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.