${function() {
const variantData = data.variant || {"id":"8f081cbb-9284-4d16-b072-9e75f289c228","product_id":"07e66c31-9be1-4b4a-b30c-8f96e1b4ee7a","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010902-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cefae648544ebc96c9749ccb1854010.jpeg","path":"8cefae648544ebc96c9749ccb1854010.jpeg","width":600,"height":800,"alt":"V-neck sleeveless jumpsuit","aspect_ratio":0.75},"wholesale_price":[{"price":29.57,"min_quantity":1}],"weight":"0.36","compare_at_price":"56.87","price":"29.57","retail_price":"56.87","available":true,"url":"\/products\/v-neck-sleeveless-jumpsuit-navy?variant=8f081cbb-9284-4d16-b072-9e75f289c228","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":48,"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.