${function() {
const variantData = data.variant || {"id":"795c1a81-885a-428a-a8a4-79bb0add5021","product_id":"776fdf2d-eb8c-4541-ae2d-c5caae349a3c","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"X103A-240531-10-69LU5FADA4-blue-S","barcode":"","position":10,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fabef4bad077b9555f01f4b49553c1f3.jpeg","path":"fabef4bad077b9555f01f4b49553c1f3.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"200","compare_at_price":"15.99","price":"15.99","retail_price":"15.99","available":true,"url":"\/products\/mens-casual-african-tribal-ethnic-style-art-pattern-shirt?variant=795c1a81-885a-428a-a8a4-79bb0add5021","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"S"}],"off_ratio":0,"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.