${function() {
const variantData = data.variant || {"id":"906956bb-80af-4875-b1bc-169a4fb7ebf2","product_id":"683b0efe-45b3-47f4-b3e5-8e02f8f01f61","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS255405-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/caed7c5cdb50a1f032f3195ef0ebf890.jpeg","path":"caed7c5cdb50a1f032f3195ef0ebf890.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.99","price":"22.99","retail_price":"33.99","available":true,"url":"\/products\/womens-pink-cheetah-leopard-print-round-neck-long-sleeve-sweatshirt?variant=906956bb-80af-4875-b1bc-169a4fb7ebf2","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":32,"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.