${function() {
const variantData = data.variant || {"id":"e1b3913e-15c4-4eea-9fe9-22a65f6cf00c","product_id":"2e61dcb5-c1ac-4d4c-a777-1fe4100c1384","title":"White-S","weight_unit":"kg","inventory_quantity":997,"sku":"SP22052089D7-96725051","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18025b696d58d8f06737679f0f585dc5.jpeg","path":"18025b696d58d8f06737679f0f585dc5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"22.99","price":"22.99","retail_price":"22.99","available":true,"url":"\/products\/mens-solid-color-deep-v-neck-tank-top-casual-breathable-sweat-wicking-striped-t-shirt-7214179?variant=e1b3913e-15c4-4eea-9fe9-22a65f6cf00c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "amount";
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.