${function() {
const variantData = data.variant || {"id":"4750b463-ea5a-47f3-804b-f26d49059d62","product_id":"43e50ed7-a671-4a9e-ba49-36a66c736165","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"13113199-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b0394f52fbae494142505031712ca0b3.jpeg","path":"b0394f52fbae494142505031712ca0b3.jpeg","width":633,"height":844,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.62","price":"26.99","retail_price":"51.62","available":true,"url":"\/products\/mens-vintage-cars-print-casual-breathable-chest-pocket-short-sleeve-hawaiian-shirts?variant=4750b463-ea5a-47f3-804b-f26d49059d62","available_quantity":1000,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":48,"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.