${function() {
const variantData = data.variant || {"id":"8497922f-275d-44cd-bc5b-9b1dc46a0a76","product_id":"748f3540-8f25-4013-a800-398dec452653","title":"PICTURE HANGING TOOL","weight_unit":"kg","inventory_quantity":998,"sku":"","barcode":"","position":1,"option1":"PICTURE HANGING TOOL","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61c374bb556a2a5b25dee1ab44390a2e.webp","path":"61c374bb556a2a5b25dee1ab44390a2e.webp","width":1001,"height":1001,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"24.99","retail_price":"50","available":true,"url":"\/products\/picture-hanging-tool?variant=8497922f-275d-44cd-bc5b-9b1dc46a0a76","available_quantity":999999999,"options":[{"name":"Type","value":"PICTURE HANGING TOOL"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"8497922f-275d-44cd-bc5b-9b1dc46a0a76","product_id":"748f3540-8f25-4013-a800-398dec452653","title":"PICTURE HANGING TOOL","weight_unit":"kg","inventory_quantity":998,"sku":"","barcode":"","position":1,"option1":"PICTURE HANGING TOOL","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61c374bb556a2a5b25dee1ab44390a2e.webp","path":"61c374bb556a2a5b25dee1ab44390a2e.webp","width":1001,"height":1001,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"24.99","retail_price":"50","available":true,"url":"\/products\/picture-hanging-tool?variant=8497922f-275d-44cd-bc5b-9b1dc46a0a76","available_quantity":999999999,"options":[{"name":"Type","value":"PICTURE HANGING TOOL"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}