${function() {
const variantData = data.variant || {"id":"9f2e34ae-87f8-4f0f-8f3a-223aefada731","product_id":"03abe615-0f47-496a-b5f1-bc457f8eec75","title":"RED-4PCS","weight_unit":"kg","inventory_quantity":1000,"sku":"Furniture-panel-connectors-RED-4PCS","barcode":"","position":1,"option1":"RED-4PCS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3672b1376894bbc455343762542e3075.jpg","path":"3672b1376894bbc455343762542e3075.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.99","retail_price":"0","available":true,"url":"\/products\/3d-printer-parts-joint-board-plate-5-holes-l-type-90-degree-corner-angle-bracket-connection-strip-for-aluminum-profile-2020?variant=9f2e34ae-87f8-4f0f-8f3a-223aefada731","available_quantity":999999999,"options":[{"name":"color","value":"RED-4PCS"}],"off_ratio":0,"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.