people are viewing this right now
${function() {
const variantData = data.variant || {"id":"80912912-babe-416c-8a90-44aa9a5ba1de","product_id":"58b7dfbb-d6a7-4572-a579-4268f41721ee","title":"green-36","weight_unit":"kg","inventory_quantity":998,"sku":"PO2145765-\u7eff\u827236","barcode":"","position":1,"option1":"green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7da320cfed3f1cfb01ef66054375508b.jpeg","path":"7da320cfed3f1cfb01ef66054375508b.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.47,"min_quantity":1}],"weight":"0","compare_at_price":"64.74","price":"43.47","retail_price":"64.74","available":true,"url":"\/products\/35-43-graffiti-platform-lace-up-shoes-for-women-casual-walking-shoes23dae103-68c0-4df6-91ce-e090a9cac137?variant=80912912-babe-416c-8a90-44aa9a5ba1de","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"36"}],"off_ratio":33,"flashsale_info":[],"sales":5};
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.