${function() {
const variantData = data.variant || {"id":"05f12fcc-c1b0-4c5d-af78-0e207cb90f54","product_id":"5b060dc4-16b6-4fb7-b600-2d056f9bae04","title":"black-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305221598-black-5","barcode":"","position":1,"option1":"black","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f53e58ce1ea1663d2e5bc5c4170f8150.jpeg","path":"f53e58ce1ea1663d2e5bc5c4170f8150.jpeg","width":750,"height":750,"alt":"Summer Bohemian Vacation Roman Shoes","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/summer-bohemian-vacation-roman-shoes?variant=05f12fcc-c1b0-4c5d-af78-0e207cb90f54","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"5"}],"off_ratio":17,"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.