${function() {
const variantData = data.variant || {"id":"b5590993-863b-484f-b2ce-c5d23a2ab364","product_id":"f3f340f4-365f-4bdb-b53e-f69b5222d49e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"JW240124335-Black-S","barcode":"","position":15,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63539c3209af117a47e61ce82ab20d4b.jpeg","path":"63539c3209af117a47e61ce82ab20d4b.jpeg","width":1055,"height":1406,"alt":"","aspect_ratio":0.7503556187766715},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.99","retail_price":"0","available":true,"url":"\/products\/mens-vintage-washed-palm-tree-print-short-sleeved-round-neck-t-shirt5c9e1b9f-02f5-4587-a7ba-d5de44dd4b19?variant=b5590993-863b-484f-b2ce-c5d23a2ab364","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.