${function() {
const variantData = data.variant || {"id":"4777d98c-293a-4701-a60f-ba8f107a6b93","product_id":"40c83962-2723-48be-8a2e-c99b4b6494ae","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"135-230915-16-WS0001ZTB4-White-S","barcode":"","position":13,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2602f456dee8618414c3cca2c43ab880.jpeg","path":"2602f456dee8618414c3cca2c43ab880.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/christmas-dog-print-hoodie?variant=4777d98c-293a-4701-a60f-ba8f107a6b93","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.