${function() {
const variantData = data.variant || {"id":"e6fadeb1-d124-48db-85f6-cfc6c2f64145","product_id":"ad09cf41-b2cd-4903-a528-c57bcd54dc57","title":"Blue-3PCS","weight_unit":"kg","inventory_quantity":1000,"sku":"FaucetJoint-Blue-3PCS","barcode":"","position":1,"option1":"Blue","option2":"3PCS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76a70dd40bfdb3824a5edd68eda12be1.jpg","path":"76a70dd40bfdb3824a5edd68eda12be1.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/3pcs-faucet-pipe-joint-plastic-joint?variant=e6fadeb1-d124-48db-85f6-cfc6c2f64145","available_quantity":999999999,"options":[{"name":"Colour","value":"Blue"},{"name":"Quantity","value":"3PCS"}],"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.