people are viewing this right now!
${function() {
const variantData = data.variant || {"id":"6b40da0a-4fe6-4bfd-b8c7-84301addb9f7","product_id":"7cad0e77-f827-4f32-ab21-c906f2e9d188","title":"Black","weight_unit":"kg","inventory_quantity":0,"sku":"2NSL220905-HEI ","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9334efbf0a782bc14038670dedd4fe2d.gif","path":"9334efbf0a782bc14038670dedd4fe2d.gif","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.98,"min_quantity":1}],"weight":"400","compare_at_price":"79.96","price":"39.98","retail_price":"79.96","available":true,"url":"\/products\/bag?variant=6b40da0a-4fe6-4bfd-b8c7-84301addb9f7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":50,"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.