${function() {
const variantData = data.variant || {"id":"c0c4d236-05bb-48f5-b94e-512d18d8e79c","product_id":"0f3aefc1-61b8-441e-8f58-22939f35eecf","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS259062-BLA00S","barcode":"","position":15,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5fa47010e4c07ff62e8897bd95fa324a.jpeg","path":"5fa47010e4c07ff62e8897bd95fa324a.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"25.99","retail_price":"39.99","available":true,"url":"\/products\/retro-aloha-lahaina-maui-strong-print-sweatshirt?variant=c0c4d236-05bb-48f5-b94e-512d18d8e79c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":10};
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.