${function() {
const variantData = data.variant || {"id":"8b9dfae1-93f4-4674-97cd-8b61100112b0","product_id":"3f05391d-fb6d-42df-99af-26922bba2f23","title":"S-black","weight_unit":"kg","inventory_quantity":1000,"sku":"CW-240408-17-S-black","barcode":"","position":17,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95a0a90d5bef8a7e3750441d41a61855.jpeg","path":"95a0a90d5bef8a7e3750441d41a61855.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/save-a-horse-t-shirt1ef7a6a8-2854-4acf-a049-f3f3327ce716?variant=8b9dfae1-93f4-4674-97cd-8b61100112b0","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"color","value":"black"}],"off_ratio":0,"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.