${function() {
const variantData = data.variant || {"id":"bd3c7d39-9997-4a5a-ae55-72710a7a266a","product_id":"44806408-f315-4d8d-878c-336fe67487ad","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231117-A18-WS00019L84-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64a51860f7556dd2fd82545736a70118.jpeg","path":"64a51860f7556dd2fd82545736a70118.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/cute-funny-dog-read-books-art-design-print-casual-sweatshirt?variant=bd3c7d39-9997-4a5a-ae55-72710a7a266a","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"name":"Size","value":"S"}],"off_ratio":0,"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.