${function() {
const variantData = data.variant || {"id":"515c1f4c-b658-4557-ac5a-2ef76e0dfac9","product_id":"a81f1503-9503-4365-9c21-892d4a4280e6","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230510960-white-S","barcode":"","position":7,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5826d321dbf9e966788dda3cfacfff23.jpeg","path":"5826d321dbf9e966788dda3cfacfff23.jpeg","width":800,"height":800,"alt":"Retro Embroidered Casual Cotton Linen Jacket","aspect_ratio":1},"wholesale_price":[{"price":54.69,"min_quantity":1}],"weight":"0.45","compare_at_price":"63","price":"54.69","retail_price":"63","available":true,"url":"\/products\/retro-embroidered-casual-cotton-linen-jacket?variant=515c1f4c-b658-4557-ac5a-2ef76e0dfac9","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":13,"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.