${function() {
const variantData = data.variant || {"id":"7d829c55-9f0f-4bb3-b69c-47be380a9a19","product_id":"312b8ee5-7130-4e74-8b84-0f49f37263f3","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230614-E02-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d357281ead48f106013ce297168f9b5.jpg","path":"0d357281ead48f106013ce297168f9b5.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/explosive-solid-color-slim-type-womens-fresh-sweet-round-neck-t-shirt-cotton-double-crepe-fashion-t-shirt-tops?variant=7d829c55-9f0f-4bb3-b69c-47be380a9a19","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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.