${function() {
const variantData = data.variant || {"id":"087d74d5-7a3b-4d0c-8e0e-ae3ecc76e766","product_id":"af8b3639-3bec-405b-9fed-2a2ea5c9f549","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230504616-blue-S","barcode":"","position":11,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/770e5cd5b42f80fa3101592d4bec466e.jpeg","path":"770e5cd5b42f80fa3101592d4bec466e.jpeg","width":800,"height":800,"alt":"All-match casual button-down cotton linen jacket","aspect_ratio":1},"wholesale_price":[{"price":34.79,"min_quantity":1}],"weight":"0.45","compare_at_price":"47","price":"34.79","retail_price":"47","available":true,"url":"\/products\/all-match-casual-button-down-cotton-linen-jacket?variant=087d74d5-7a3b-4d0c-8e0e-ae3ecc76e766","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"S"}],"off_ratio":26,"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.