${function() {
const variantData = data.variant || {"id":"df14a8fe-29ce-4df8-8901-88dccc93f0f5","product_id":"3f05391d-fb6d-42df-99af-26922bba2f23","title":"S-grey","weight_unit":"kg","inventory_quantity":1000,"sku":"CW-240408-17-S-grey","barcode":"","position":1,"option1":"S","option2":"grey","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97051b7a8b0ec3ed6ec99a4cb2db0aee.jpeg","path":"97051b7a8b0ec3ed6ec99a4cb2db0aee.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=df14a8fe-29ce-4df8-8901-88dccc93f0f5","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"color","value":"grey"}],"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.