${function() {
const variantData = data.variant || {"id":"6f3522cb-bcc8-4181-b954-e6378ecf1ba9","product_id":"8522304c-58f2-4dc4-9433-b55ef9758c39","title":"Purple-S","weight_unit":"kg","inventory_quantity":1000,"sku":"230224-A02-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f61469cc61a07cc1a9578a9ed827439f.jpg","path":"f61469cc61a07cc1a9578a9ed827439f.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/seven-part-sleeve-t-shirt-v-neck-positioning-print-womens-shirt?variant=6f3522cb-bcc8-4181-b954-e6378ecf1ba9","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"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.