${function() {
const variantData = data.variant || {"id":"8bbead47-5e1f-4126-b394-d45a1aeb838b","product_id":"bd778e49-8131-48c4-aa6b-0a89f22dfa5c","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"20121605-grey-s","barcode":"","position":2,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee9fa2fd6ee3c89193fe25cf832a8cd1.jpeg","path":"ee9fa2fd6ee3c89193fe25cf832a8cd1.jpeg","width":585,"height":813,"alt":"Stylish Irregularity Design Sweater Dress","aspect_ratio":0.7195571955719557},"wholesale_price":[{"price":37.56,"min_quantity":1}],"weight":"0","compare_at_price":"69.56","price":"37.56","retail_price":"69.56","available":true,"url":"\/products\/stylish-irregularity-design-sweater-dress?variant=8bbead47-5e1f-4126-b394-d45a1aeb838b","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":46,"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.