${function() {
const variantData = data.variant || {"id":"08949f4b-6db4-4c6e-84b4-898b87d285c6","product_id":"74a1cab4-f2c1-4fbc-808c-1308cce14851","title":"Orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100363-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb9b9e187279515451c4680643dafcb5.png","path":"fb9b9e187279515451c4680643dafcb5.png","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/mens-fashionable-casual-green-cotton-shirts-a5zw-z50l-rx8s-k9xh-tzpw-bxa8-t0gn-uyyx-lhg0-nfqp4b14ec7c-82af-4895-b800-cc22474ccae4?variant=08949f4b-6db4-4c6e-84b4-898b87d285c6","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":25,"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.