${function() {
const variantData = data.variant || {"id":"b255b296-1a7b-4739-ac2a-31802fed8699","product_id":"2e5875a1-3b39-4b4b-baec-bf2b55fcfb2e","title":"black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662206131503-black-2XL","barcode":"","position":1,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b26aaa6cc2bd090dc51351d69563fccb.jpeg","path":"b26aaa6cc2bd090dc51351d69563fccb.jpeg","width":800,"height":1000,"alt":"Summer solid color tube top set","aspect_ratio":0.8},"wholesale_price":[{"price":28.5,"min_quantity":1}],"weight":"0","compare_at_price":"49.14","price":"28.5","retail_price":"49.14","available":true,"url":"\/products\/summer-solid-color-tube-top-set?variant=b255b296-1a7b-4739-ac2a-31802fed8699","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"2XL"}],"off_ratio":42,"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.