${function() {
const variantData = data.variant || {"id":"c722c4e6-a8c8-4e6d-a580-42b0904afef8","product_id":"587f5428-79d4-4de0-b494-4e796a7ff50d","title":"STONE-S","weight_unit":"kg","inventory_quantity":995,"sku":"XWcoat-STONE-S","barcode":"","position":1,"option1":"STONE","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7696a2a5e0e271b0e6edbf8bd8f1fa1d.jpeg","path":"7696a2a5e0e271b0e6edbf8bd8f1fa1d.jpeg","width":750,"height":1127,"alt":"","aspect_ratio":0.6654835847382431},"wholesale_price":[{"price":39.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.98","retail_price":"0","available":true,"url":"\/products\/button-down-shirt-jacket-buy-2-free-shipping?variant=c722c4e6-a8c8-4e6d-a580-42b0904afef8","available_quantity":999999999,"options":[{"name":"Color","value":"STONE"},{"name":"Size","value":"S"}],"off_ratio":0,"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.