${function() {
const variantData = data.variant || {"id":"37170437-32aa-4a2f-a25c-1e807b028ff5","product_id":"4c2bf6d5-87f3-4033-af15-85635a3f075f","title":"colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240516-27-MS0002TTD6-Black-S","barcode":"","position":1,"option1":"colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9c08d9a073f2629027b24886c9a0370.jpeg","path":"e9c08d9a073f2629027b24886c9a0370.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-print-casual-sweatshirt?variant=37170437-32aa-4a2f-a25c-1e807b028ff5","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.