${function() {
const variantData = data.variant || {"id":"c7b9ca5d-01da-47d6-8162-ff46a0e87643","product_id":"80eb25a0-467f-4496-b696-9e456177917b","title":"Black-white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20210513-910-Black-white-S","barcode":"","position":1,"option1":"Black-white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8db2438ec5375fca4d3771ad04f43a9e.jpeg","path":"8db2438ec5375fca4d3771ad04f43a9e.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/women-black-white-plaid-checks-dress-sleeveless-irregular-pleated-shirt-dress-s?variant=c7b9ca5d-01da-47d6-8162-ff46a0e87643","available_quantity":999999999,"options":[{"name":"Color:","value":"Black-white"},{"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.