${function() {
const variantData = data.variant || {"id":"666e4924-cc97-4372-b976-73f847e7048b","product_id":"e895ad70-1fac-4a7d-bc92-718af50c4e66","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WLL23110709-black-S","barcode":"","position":2,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bda73e56e1b05f8000c0a4eef40ec101.jpeg","path":"bda73e56e1b05f8000c0a4eef40ec101.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38,"min_quantity":1}],"weight":"0","compare_at_price":"60","price":"38","retail_price":"60","available":true,"url":"\/products\/be-kind-of-a-bitch-hoodiecf6f2ab4-aa46-42a9-9215-7afc12b402ea?variant=666e4924-cc97-4372-b976-73f847e7048b","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":37,"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.