${function() {
const variantData = data.variant || {"id":"4ccbc11d-b370-4172-afbe-53d8ab89ab91","product_id":"6f6c3055-83cf-40bc-831d-74d80abb971c","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"JW240201962-Black-S","barcode":"","position":8,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/59c9237ace9ed6665eb13cc94bbe3725.jpeg","path":"59c9237ace9ed6665eb13cc94bbe3725.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"21.99","retail_price":"23.99","available":true,"url":"\/products\/marine-animal-print-washed-short-sleeved-t-shirt-xgav5db6827f-7ba4-4c82-913f-e8cf8f3c0ffc?variant=4ccbc11d-b370-4172-afbe-53d8ab89ab91","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":8,"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.