${function() {
const variantData = data.variant || {"id":"8c42e24a-c5fe-4ef6-8283-0a86b24f6bc0","product_id":"e895ad70-1fac-4a7d-bc92-718af50c4e66","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WLL23110709-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/17819d6e2546d867e2652ad6f5a9f6a3.jpeg","path":"17819d6e2546d867e2652ad6f5a9f6a3.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=8c42e24a-c5fe-4ef6-8283-0a86b24f6bc0","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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.