${function() {
const variantData = data.variant || {"id":"d4e33be3-8367-40d7-b838-acc4803c25d6","product_id":"4a90c61a-6284-4772-8406-4d45fb4973b2","title":"Orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"213140896122-Orange-S","barcode":"","position":17,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42fa8af75553d248e18d3d2948989fa2.jpeg","path":"42fa8af75553d248e18d3d2948989fa2.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"30.99","price":"27.99","retail_price":"30.99","available":true,"url":"\/products\/mens-graphic-elk-moose-christmas-sweatshirts-sweatshirt-golf-pullover-sweatshirt-long-sleeve-sweatshirt-crew-neck-fashion-daily-casual-3d-print-holiday-vacation-going-out-print-spring-fall?variant=d4e33be3-8367-40d7-b838-acc4803c25d6","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":10,"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.