${function() {
const variantData = data.variant || {"id":"b884b8a5-b942-42ed-8f39-2804e8c37b94","product_id":"0ea735cd-bb8d-42ae-afa8-be864737554a","title":"white-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305221601-white-5","barcode":"","position":8,"option1":"white","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a21f829fcbc129cdbed37965082eb953.jpeg","path":"a21f829fcbc129cdbed37965082eb953.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=b884b8a5-b942-42ed-8f39-2804e8c37b94","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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.