${function() {
const variantData = data.variant || {"id":"ca323a64-4965-4383-a7ee-bb21e6df6f92","product_id":"85ff1c81-8491-4ee9-b6ef-6e0f3faa1997","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"156-240605-28-WT0003UCBF-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12148804bf3887bd19f0062a8f7c3d90.jpeg","path":"12148804bf3887bd19f0062a8f7c3d90.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/womens-small-green-flowers-v-neck-casual-t-shirt?variant=ca323a64-4965-4383-a7ee-bb21e6df6f92","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.