${function() {
const variantData = data.variant || {"id":"06ab8347-3b02-4132-8f4c-04fa9615c1e0","product_id":"b18f197a-39b3-477e-8b25-3c0e41ac6cb0","title":"Orange-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308162853-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/07c97c8d2a3b4ed2fa4053157313541d.jpeg","path":"07c97c8d2a3b4ed2fa4053157313541d.jpeg","width":800,"height":800,"alt":"\u0421ute Ghost Dog Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":36.98,"min_quantity":1}],"weight":"0.35","compare_at_price":"50","price":"36.98","retail_price":"50","available":true,"url":"\/products\/\u0441ute-ghost-dog-sweatshirt?variant=06ab8347-3b02-4132-8f4c-04fa9615c1e0","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":26,"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.