${function() {
const variantData = data.variant || {"id":"a32f8f1a-afd4-45ff-b6df-d27cde4d0e3c","product_id":"a1b39714-eb53-4181-9459-543e7a4186ce","title":"Black","weight_unit":"kg","inventory_quantity":967,"sku":"LGBT-230204-03","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15b3e79686351abaa0b12dd1e7717709.jpeg","path":"15b3e79686351abaa0b12dd1e7717709.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":5.99,"min_quantity":1}],"weight":"0","compare_at_price":"5.99","price":"5.99","retail_price":"5.99","available":true,"url":"\/products\/lgbt-yin-yang-rainbow-fish-adjustable-bracelet?variant=a32f8f1a-afd4-45ff-b6df-d27cde4d0e3c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.