${function() {
const variantData = data.variant || {"id":"d2334da2-66f7-4615-9358-33e50486ecf2","product_id":"71fbf854-77e0-415d-a051-ab03cdfe28a4","title":"navy blue-M","weight_unit":"g","inventory_quantity":1000,"sku":"x099-230817-01-W8JC4JQ2YR-navy blue-M","barcode":"","position":7,"option1":"navy blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/954a642aba11f6c3de3606f52d31d1b4.jpeg","path":"954a642aba11f6c3de3606f52d31d1b4.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"450","compare_at_price":"38.99","price":"38.99","retail_price":"38.99","available":true,"url":"\/products\/autumn-winter-male-jeans-jackets-cowboy-simple-men-leisure-short-denim-jacket?variant=d2334da2-66f7-4615-9358-33e50486ecf2","available_quantity":999999999,"options":[{"name":"Color","value":"navy blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.