${function() {
const variantData = data.variant || {"id":"ff0ce7b1-2783-4ebe-90c2-99f77dcf7c8a","product_id":"21a57e04-133f-4770-bbc8-30920fd1d31c","title":"White-Standard-Right Hand","weight_unit":"kg","inventory_quantity":997,"sku":"a-\u94f0\u63a5\u5f0f\u624b\u6307-\u767d\u6807-\u53f3\u624b-1","barcode":"","position":1,"option1":"White-Standard","option2":"Right Hand","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6db56f303c986ceb3cccb79f6bc27b26.jpeg","path":"6db56f303c986ceb3cccb79f6bc27b26.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.98","price":"22.99","retail_price":"45.98","available":true,"url":"\/products\/articulated-fingers?variant=ff0ce7b1-2783-4ebe-90c2-99f77dcf7c8a","available_quantity":997,"options":[{"name":"Color","value":"White-Standard"},{"name":"Quantity","value":"Right Hand"}],"off_ratio":50,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.