${function() {
const variantData = data.variant || {"id":"c20283a5-fcdf-4022-9863-265d9ca39200","product_id":"5ae2a212-6b8a-48b7-86bf-8958c1ad2152","title":"colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240516-A25-MS0002C8B8-colorful-S","barcode":"","position":1,"option1":"colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51435d976988c8e773411c8b1726f0bc.jpeg","path":"51435d976988c8e773411c8b1726f0bc.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-american-eagle-hawaiian-print-casual-sweatshirt?variant=c20283a5-fcdf-4022-9863-265d9ca39200","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.