${function() {
const variantData = data.variant || {"id":"4e95c809-c7c7-41d5-82da-03b5b3a9a49a","product_id":"b76c58e1-e049-4370-95f4-30a2fdc6a8c2","title":"black-s","weight_unit":"kg","inventory_quantity":0,"sku":"20112407-black-s","barcode":"","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b046a1cf0edb4c7394064004f03ab305.jpeg","path":"b046a1cf0edb4c7394064004f03ab305.jpeg","width":781,"height":783,"alt":"Casual Harajuku Style Woolen Coat","aspect_ratio":0.9974457215836526},"wholesale_price":[{"price":88.65,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"88.65","retail_price":"80","available":true,"url":"\/products\/casual-harajuku-style-woolen-coat?variant=4e95c809-c7c7-41d5-82da-03b5b3a9a49a","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.