${function() {
const variantData = data.variant || {"id":"42109c9b-319f-4b56-ad3e-7d32a87f6d3c","product_id":"0ea735cd-bb8d-42ae-afa8-be864737554a","title":"black-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305221601-black-5","barcode":"","position":1,"option1":"black","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f3b723a2b2ff3015c54142ba5c1ddd3.jpeg","path":"7f3b723a2b2ff3015c54142ba5c1ddd3.jpeg","width":800,"height":800,"alt":"Fashion non-slip wedge outdoor sandals and slippers","aspect_ratio":1},"wholesale_price":[{"price":43.57,"min_quantity":1}],"weight":"0.7","compare_at_price":"56","price":"43.57","retail_price":"56","available":true,"url":"\/products\/fashion-non-slip-wedge-outdoor-sandals-and-slippers?variant=42109c9b-319f-4b56-ad3e-7d32a87f6d3c","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"5"}],"off_ratio":22,"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.