${function() {
const variantData = data.variant || {"id":"8aa87086-658f-4cad-a8e3-826371292801","product_id":"5aaeaaf5-e00d-4b3c-972e-1f4844f4b20a","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BJN339726-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/562357bf8221815da64e7d1aa60f7405.jpeg","path":"562357bf8221815da64e7d1aa60f7405.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.65","price":"18.99","retail_price":"36.65","available":true,"url":"\/products\/womens-be-yourself-theyll-adjust-print-pride-tank-top?variant=8aa87086-658f-4cad-a8e3-826371292801","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":3};
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.