${function() {
const variantData = data.variant || {"id":"01bf0873-41e6-49f5-8563-167a9eb5fa92","product_id":"cf79c719-3f05-4d63-89d0-a52a37e4ca83","title":"as picture-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211171831-as picture-S","barcode":"","position":1,"option1":"as picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c880ecf7138abef330ed9487d9065e9.jpeg","path":"6c880ecf7138abef330ed9487d9065e9.jpeg","width":800,"height":800,"alt":"Casual all-match color block double-breasted coa","aspect_ratio":1},"wholesale_price":[{"price":84.55,"min_quantity":1}],"weight":"0.5","compare_at_price":"143.31","price":"84.55","retail_price":"143.31","available":true,"url":"\/products\/casual-all-match-color-block-double-breasted-coa?variant=01bf0873-41e6-49f5-8563-167a9eb5fa92","available_quantity":999999999,"options":[{"name":"color","value":"as picture"},{"name":"size","value":"S"}],"off_ratio":41,"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.