${function() {
const variantData = data.variant || {"id":"5861728f-b117-45c2-beeb-cf0175512ebc","product_id":"6d9ad426-593c-4cfc-b556-1eb39b4fd473","title":"black-L","weight_unit":"kg","inventory_quantity":0,"sku":"662209012011-black-L","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a1ba7ddc5d28e03e980a6956db6c81e.jpeg","path":"7a1ba7ddc5d28e03e980a6956db6c81e.jpeg","width":800,"height":1000,"alt":"Fashion Waffle Casual Two Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":60.89,"min_quantity":1}],"weight":"0.8","compare_at_price":"75.17","price":"60.89","retail_price":"75.17","available":true,"url":"\/products\/fashion-waffle-casual-two-piece-set?variant=5861728f-b117-45c2-beeb-cf0175512ebc","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":19,"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.