${function() {
const variantData = data.variant || {"id":"6bbab088-7586-49a5-b16e-f1d637ca0240","product_id":"ae109c71-dd3e-4230-b209-abfe11e5719f","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-230529-A01-WT00039BFT-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09d6eec9df4db68b1c460be5b7355cde.jpeg","path":"09d6eec9df4db68b1c460be5b7355cde.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-lgbt-rainbow-love-pride-casual-t-shirt?variant=6bbab088-7586-49a5-b16e-f1d637ca0240","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.