${function() {
const variantData = data.variant || {"id":"c2d4a115-8b13-4e51-b8bb-449bc0fc1dd8","product_id":"ceb3decc-1855-4dc9-9fb0-12f4d168dc8a","title":"1pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"GTHFCARS_1pcs","barcode":"","position":1,"option1":"1pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c997343dceda030853dae0e0a7028036.webp","path":"c997343dceda030853dae0e0a7028036.webp","width":454,"height":492,"alt":"","aspect_ratio":0.9227642276422764},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/universal-300db-loud-car-air-horn-12v-trumpet-motorcycle-horn-for-trucks-vehicle-horn-dual-tone-electric-snail-air-horn?variant=c2d4a115-8b13-4e51-b8bb-449bc0fc1dd8","available_quantity":999999999,"options":[{"name":"Color","value":"1pcs"}],"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.