${function() {
const variantData = data.variant || {"id":"26074b93-b037-4fb5-99ef-c857afe0ce65","product_id":"db5500af-68f6-434c-97a1-f3f21056fb9c","title":"blue-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21052020-blue-s","barcode":"","position":3,"option1":"blue","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af0e3007dec3438c76ac1a180cdf8482.jpg","path":"af0e3007dec3438c76ac1a180cdf8482.jpg","width":564,"height":705,"alt":"Casual Loose Shape Short Set","aspect_ratio":0.8},"wholesale_price":[{"price":34.75,"min_quantity":1}],"weight":"0","compare_at_price":"53","price":"34.75","retail_price":"53","available":true,"url":"\/products\/casual-loose-shape-short-set?variant=26074b93-b037-4fb5-99ef-c857afe0ce65","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"s"}],"off_ratio":34,"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.