${function() {
const variantData = data.variant || {"id":"747c298e-f0ea-4f50-8d59-b31490968abd","product_id":"95089eb0-0211-4f91-ae94-ea57d171914c","title":"camel-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305121190-camel-5","barcode":"","position":7,"option1":"camel","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d15a69eea4f3b3f9c7f499bd8ad02843.jpeg","path":"d15a69eea4f3b3f9c7f499bd8ad02843.jpeg","width":800,"height":800,"alt":"Ethnic style all-match retro Roman sandals","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"45","price":"37.99","retail_price":"45","available":true,"url":"\/products\/ethnic-style-all-match-retro-roman-sandals?variant=747c298e-f0ea-4f50-8d59-b31490968abd","available_quantity":999999999,"options":[{"name":"color","value":"camel"},{"name":"size","value":"5"}],"off_ratio":16,"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.