${function() {
const variantData = data.variant || {"id":"9aa40b2d-eb7b-45a3-969a-75b5b233fe6b","product_id":"5089c23d-38bc-4d4f-8be8-ee797913a686","title":"Purple-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"20230617-E08-Purple-XS","barcode":"","position":1,"option1":"Purple","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2517373b4adb9285349e509f943d9abd.jpg","path":"2517373b4adb9285349e509f943d9abd.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/new-womens-summer-trend-loose-type-pullover-t-shirt-digital-printing-fashion-v-neck-commuter-style-short-sleeved-tops?variant=9aa40b2d-eb7b-45a3-969a-75b5b233fe6b","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"XS"}],"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.