${function() {
const variantData = data.variant || {"id":"4c40ef6b-5fe1-4998-a188-df3558a0d107","product_id":"1062d1a8-4e2a-469d-a2ae-4be9198a3234","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"662210311132-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9798b7763f6ef2e573643698b0a9658d.jpeg","path":"9798b7763f6ef2e573643698b0a9658d.jpeg","width":800,"height":800,"alt":"Merry christmas print hoodie","aspect_ratio":1},"wholesale_price":[{"price":35.78,"min_quantity":1}],"weight":"0.3","compare_at_price":"67.51","price":"35.78","retail_price":"67.51","available":true,"url":"\/products\/merry-christmas-print-hoodie?variant=4c40ef6b-5fe1-4998-a188-df3558a0d107","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":47,"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.