${function() {
const variantData = data.variant || {"id":"ed493c60-c50d-4a53-bc91-f626bab01453","product_id":"83874744-b3af-4d7e-883d-4670356a6680","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100408-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cd4c6e7f49afb7ecc7b8929f3535655.png","path":"6cd4c6e7f49afb7ecc7b8929f3535655.png","width":675,"height":898,"alt":"","aspect_ratio":0.7516703786191536},"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-shirtse616d534-eab0-4f06-92b9-869e11d338c4?variant=ed493c60-c50d-4a53-bc91-f626bab01453","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"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.