${function() {
const variantData = data.variant || {"id":"3caed4b5-4df4-4046-9ea4-a869bcb3e3fe","product_id":"4b9bea36-6ffc-4216-af0b-fbeeb274da1b","title":"White-S","weight_unit":"kg","inventory_quantity":993,"sku":"PH1-220625-19-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b80a56309489b27695ae5bfc9f5e9f7.jpeg","path":"0b80a56309489b27695ae5bfc9f5e9f7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.9,"min_quantity":1}],"weight":"0","compare_at_price":"16.9","price":"16.9","retail_price":"16.9","available":true,"url":"\/products\/personalized-design-button-t-shirt-6610945?variant=3caed4b5-4df4-4046-9ea4-a869bcb3e3fe","available_quantity":993,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.