${function() {
const variantData = data.variant || {"id":"9d89216f-2f34-4b05-aac7-d29353af210f","product_id":"31ba28a0-9f0c-4fef-ab19-5ced90908a20","title":"Orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS252307-ORA00S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6acf04d4fa68988b0b195fcefcaa9883.jpeg","path":"6acf04d4fa68988b0b195fcefcaa9883.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"41.99","price":"25.99","retail_price":"41.99","available":true,"url":"\/products\/hippie-what-a-wonderful-world-print-sweatshirt?variant=9d89216f-2f34-4b05-aac7-d29353af210f","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.