${function() {
const variantData = data.variant || {"id":"8ccd4f80-cb17-4daa-8def-a9f14bf6727e","product_id":"1a079e27-6535-4fce-9c6a-5651dca4ab9f","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"20230509-A01-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e92e8b9eb72422ae92a602f059090cd.jpg","path":"5e92e8b9eb72422ae92a602f059090cd.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/womens-pleated-square-neck-sleeveless-swallowtail-manganese-print-tank-top-s-m-l-xl-2xl-3xl-4xl-5xl?variant=8ccd4f80-cb17-4daa-8def-a9f14bf6727e","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.