${function() {
const variantData = data.variant || {"id":"484f5cde-45e2-404a-8aec-ec1db4ef9c24","product_id":"efc764b7-eedf-4292-8768-54b41785a8e1","title":"colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240513-A4-MT00365AXT-black-S","barcode":"","position":1,"option1":"colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43234cbe8bec61cc22456d6834b1aeb7.jpeg","path":"43234cbe8bec61cc22456d6834b1aeb7.jpeg","width":900,"height":1198,"alt":"","aspect_ratio":0.7512520868113522},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"200","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/mens-usa-independence-day-american-stars-flag-art-print-t-shirt-ry0v?variant=484f5cde-45e2-404a-8aec-ec1db4ef9c24","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.