${function() {
const variantData = data.variant || {"id":"6c68fc26-0fe5-47c0-91fc-174c9e617057","product_id":"bd1a97e4-030a-4817-82bc-dbc4f7de1ad7","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230524-E11-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a94c7e58dbf5c65fcbe79c6d8dd2b887.jpg","path":"a94c7e58dbf5c65fcbe79c6d8dd2b887.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/short-section-ladies-shirt-spring-and-summer-hot-lapel-short-sleeved-striped-button-up-temperament-commuter-style?variant=6c68fc26-0fe5-47c0-91fc-174c9e617057","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.