${function() {
const variantData = data.variant || {"id":"1f9e7161-699a-4db2-af5c-af021e36b481","product_id":"5fb1306e-26ec-4fc8-ba52-ff2fd3701271","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122508-White-S","barcode":"","position":13,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8536294f33c66f3864d4195649873e3.png","path":"f8536294f33c66f3864d4195649873e3.png","width":600,"height":800,"alt":"Could Be A Train Station Kinda Day Print T-shirt","aspect_ratio":0.75},"wholesale_price":[{"price":21.59,"min_quantity":1}],"weight":"0.4","compare_at_price":"25","price":"21.59","retail_price":"25","available":true,"url":"\/products\/could-be-a-train-station-kinda-day-print-t-shirt?variant=1f9e7161-699a-4db2-af5c-af021e36b481","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.