${function() {
const variantData = data.variant || {"id":"82c59bb5-2ccb-4161-b93c-f97a23ed5d1a","product_id":"f84276f1-47f6-4bdf-ae9f-986cc1d9f602","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230619-E10-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0390618974a50b9a016c8ed2f6990bba.jpg","path":"0390618974a50b9a016c8ed2f6990bba.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/new-temperament-commuter-loose-type-fashion-lapel-long-sleeved-sunscreen-chiffon-shirt-elegant-wind-shirt?variant=82c59bb5-2ccb-4161-b93c-f97a23ed5d1a","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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.