${function() {
const variantData = data.variant || {"id":"9a83693d-136a-42a4-aff3-180617e63884","product_id":"3330b778-e5f1-4425-948d-e3fb3a0dc1b5","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"162-240527-33-WT00036JQJ-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f42b186c325323941aa848a757eec341.jpeg","path":"f42b186c325323941aa848a757eec341.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/independence-day-rainbow-element-i-may-be-straight-but-i-dont-hate-printed-t-shirt?variant=9a83693d-136a-42a4-aff3-180617e63884","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.