people are viewing this right now
${function() {
const variantData = data.variant || {"id":"49344d4a-7232-4841-b92d-b45b6361aa63","product_id":"56aedc86-9e1f-421b-a199-4a0f6fc93320","title":"1","weight_unit":"kg","inventory_quantity":998,"sku":"3256802916676908-1-China","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4246716433fa857955a1458faca70ea.jpeg","path":"a4246716433fa857955a1458faca70ea.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.97,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.97","retail_price":"0","available":true,"url":"\/products\/fashion-vintage-cute-blue-eyes-owl-ring-for-men-women-open-rings-silver-color-engagement-wedding-couple-ring-jewelry-gifts?variant=49344d4a-7232-4841-b92d-b45b6361aa63","available_quantity":999999999,"options":[{"name":"Main Stone Color","value":"1"}],"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.