${function() {
const variantData = data.variant || {"id":"27e758d0-3d92-4f8b-865f-70c5b5d131a1","product_id":"5b4be0ae-1690-4d4e-9964-8e82fbadb0f4","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"T-shirt So-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/651e97763111709baf4bec09e568eac7.jpeg","path":"651e97763111709baf4bec09e568eac7.jpeg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/womens-t-shirt-solid-colored-long-sleeve-round-neck-tops-basic-top-white-black-blushing-pink-0204812?variant=27e758d0-3d92-4f8b-865f-70c5b5d131a1","available_quantity":999999999,"options":[{"name":"Color:","value":"White"},{"name":"Size:","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.