${function() {
const variantData = data.variant || {"id":"defafff8-362e-4937-8646-80620812e98e","product_id":"776fdf2d-eb8c-4541-ae2d-c5caae349a3c","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"X103A-240531-10-69LU5FADA4-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/280497b048bb3ff17059481c6c2c7e7e.jpeg","path":"280497b048bb3ff17059481c6c2c7e7e.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=defafff8-362e-4937-8646-80620812e98e","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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.