${function() {
const variantData = data.variant || {"id":"34fe9adc-9134-4bcc-aa13-2b952143940a","product_id":"945522c7-abb4-49d5-b6d6-193bb8a29422","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230608-E13-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1f2587d88a0255dbaef37d7b69a4e1c0.jpg","path":"1f2587d88a0255dbaef37d7b69a4e1c0.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/summer-new-sense-of-senior-french-hanging-neck-half-high-neck-solid-color-top-loose-short-t-shirt-long-sleeved-peplum-tops?variant=34fe9adc-9134-4bcc-aa13-2b952143940a","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.