${function() {
const variantData = data.variant || {"id":"63128a38-ff1f-4630-a709-f4da13e7f789","product_id":"3c367080-d235-4e40-908b-e46548dcd03b","title":"Yellow-20*18CM","weight_unit":"kg","inventory_quantity":1000,"sku":"Spinner-Plane-Yellow-20-18CM","barcode":"","position":1,"option1":"Yellow","option2":"20*18CM","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e67fe843519df830b1e3fa9c6f557a3.jpg","path":"3e67fe843519df830b1e3fa9c6f557a3.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"47.99","retail_price":"0","available":true,"url":"\/products\/metal-aircraft-weathervane-outdoor-roof-wind-direction-indicator?variant=63128a38-ff1f-4630-a709-f4da13e7f789","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"20*18CM"}],"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.