${function() {
const variantData = data.variant || {"id":"a4dc7348-d574-44bf-8311-86cbd45bd9b0","product_id":"bc4c768d-5dc2-407f-8892-a149f4dde4d8","title":"colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240516-A29-MS00028C54-colorful-S","barcode":"","position":1,"option1":"colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c6d91773ec424e75e375579d1bbfa28.jpeg","path":"1c6d91773ec424e75e375579d1bbfa28.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-flamingo-chest-art-print-casual-sweatshirt?variant=a4dc7348-d574-44bf-8311-86cbd45bd9b0","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.