${function() {
const variantData = data.variant || {"id":"f5d7e85f-217a-4778-aacf-ccf8c66eb27f","product_id":"8bf279ad-261e-4640-90ef-3d1fadfddfa7","title":"Diagonal-stripes","weight_unit":"kg","inventory_quantity":9643,"sku":"FXHN2208171084-Diagonal-stripes","barcode":"","position":2,"option1":"Diagonal-stripes","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/068d32bbc4ffa0ea43fc9bbf07ba3896.jpeg","path":"068d32bbc4ffa0ea43fc9bbf07ba3896.jpeg","width":800,"height":800,"alt":"Personality exaggerated tribal ethnic style colorful collarbone chain necklace","aspect_ratio":1},"wholesale_price":[{"price":10.7,"min_quantity":1}],"weight":"0.03","compare_at_price":"20.19","price":"10.7","retail_price":"20.19","available":true,"url":"\/products\/personality-exaggerated-tribal-ethnic-style-colorful-collarbone-chain-necklace?variant=f5d7e85f-217a-4778-aacf-ccf8c66eb27f","available_quantity":999999999,"options":[{"name":"color","value":"Diagonal-stripes"}],"off_ratio":47,"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.