${function() {
const variantData = data.variant || {"id":"209e8950-d10b-4fe1-b7ae-50e17fb8c1c2","product_id":"91ca6ead-1b8b-4725-b890-de60da012ed7","title":"3","weight_unit":"kg","inventory_quantity":1000,"sku":"X103-231023-03-BRGC4UEKJ5-3","barcode":"","position":3,"option1":"3","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50fda469e8ed9cc845113a27a0fa614c.jpeg","path":"50fda469e8ed9cc845113a27a0fa614c.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0.02","compare_at_price":"9.99","price":"9.99","retail_price":"9.99","available":true,"url":"\/products\/christmas-cute-dachshund-flat-creative-gift-decorative-pendant-x9u3?variant=209e8950-d10b-4fe1-b7ae-50e17fb8c1c2","available_quantity":999999999,"options":[{"name":"Color","value":"3"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "amount";
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.