${function() {
const variantData = data.variant || {"id":"63201de0-2b32-4429-88eb-c5d90d7dff13","product_id":"91996543-c4a0-496c-9cf4-51a2388f495e","title":"colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240516-A26-MS0002F9BT-colorful-S","barcode":"","position":1,"option1":"colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2306ae570ac5a82e2317ad6ed2c1294a.jpeg","path":"2306ae570ac5a82e2317ad6ed2c1294a.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"450","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/independence-day-american-flag-fun-rooster-hawaiian-print-casual-sweatshirt?variant=63201de0-2b32-4429-88eb-c5d90d7dff13","available_quantity":999999999,"options":[{"name":"Color","value":"colorful"},{"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.