${function() {
const variantData = data.variant || {"id":"ee99c006-1f99-4f06-8a81-7317ef06bd7e","product_id":"c3095b9e-874d-4d6b-9c3b-1f9352ada388","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLG353304-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d221419eb36461bdde245e5aa46ce8ad.jpeg","path":"d221419eb36461bdde245e5aa46ce8ad.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"21.99","retail_price":"37.99","available":true,"url":"\/products\/womens-rainbow-a-promise-of-god-not-a-symbol-of-pride-print-t-shirt?variant=ee99c006-1f99-4f06-8a81-7317ef06bd7e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":42,"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.