${function() {
const variantData = data.variant || {"id":"976b143e-454f-4b53-a540-ae4c70ef63cd","product_id":"bd697594-853a-49be-9429-5ba8d8e525db","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240314-A15-WS0001H3RE-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1694280ab7d5a6ee3724bd78688ab71a.jpeg","path":"1694280ab7d5a6ee3724bd78688ab71a.jpeg","width":1200,"height":1500,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.99","price":"26.99","retail_price":"26.99","available":true,"url":"\/products\/whiskey-for-my-men-beer-for-my-horses-casual-sweatshirt?variant=976b143e-454f-4b53-a540-ae4c70ef63cd","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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.