${function() {
const variantData = data.variant || {"id":"dd851446-463a-4cf3-9c01-e64413d7cd81","product_id":"751582cb-1aac-4675-b168-44155fbf8e73","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"213140897229-Blue-S","barcode":"","position":7,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82a4ab3566e3769a8fe5c79459c82a27.jpeg","path":"82a4ab3566e3769a8fe5c79459c82a27.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"27.99","retail_price":"34.99","available":true,"url":"\/products\/christmas-mens-3d-print-3d-3d-cartoon-sweatshirts-sweatshirt-sweatshirt-long-sleeve-sweatshirt-crew-neck-3d-funny-3d-print-party-christmas-new-year-crewneck-3d-print-3d-winter-spring-fall?variant=dd851446-463a-4cf3-9c01-e64413d7cd81","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":20,"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.