${function() {
const variantData = data.variant || {"id":"7096d747-0556-4d7f-9a9c-8ac38ce59cdf","product_id":"708c04cf-6194-4e8e-b177-c4700e16686c","title":"Black color","weight_unit":"kg","inventory_quantity":0,"sku":"lx20230810136-Black color","barcode":"","position":1,"option1":"Black color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c9a8852cd781eed4c4f51e253ad5e33.jpeg","path":"7c9a8852cd781eed4c4f51e253ad5e33.jpeg","width":640,"height":640,"alt":"Choker Shell Necklace","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/choker-shell-necklace?variant=7096d747-0556-4d7f-9a9c-8ac38ce59cdf","available_quantity":999999999,"options":[{"name":"Couleur","value":"Black color"}],"off_ratio":0,"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}
`
}()}
Product was out of stock.
Product is unavailable.