${function() {
const variantData = data.variant || {"id":"f25fd502-e589-492f-bf96-a65d7d706d9e","product_id":"f6220645-4643-4498-bf3e-6d06f94815fa","title":"White-M","weight_unit":"kg","inventory_quantity":1000,"sku":"210301-807-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ef8980f5377cd9bc9298cc0ad71f46fd.jpeg","path":"ef8980f5377cd9bc9298cc0ad71f46fd.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/womens-solid-colored-solid-color-button-hooded-tops-cotton-basic-casual-basic-top-white-black-blue?variant=f25fd502-e589-492f-bf96-a65d7d706d9e","available_quantity":999999999,"options":[{"name":"Color:","value":"White"},{"name":"Size:","value":"M"}],"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.