${function() {
const variantData = data.variant || {"id":"6e52fd37-575a-45a7-8336-f11d4955f701","product_id":"f0776e21-5de8-4d86-8512-fdfafe744b6e","title":"as picture-S","weight_unit":"kg","inventory_quantity":1000,"sku":"149-240320-14-MT0093TD8R-as picture-S","barcode":"","position":1,"option1":"as picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fff7b54b7b0899618f40555ff1be28e3.jpeg","path":"fff7b54b7b0899618f40555ff1be28e3.jpeg","width":1701,"height":2268,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/mens-abstract-cat-print-casual-long-sleeve-shirt-ycac?variant=6e52fd37-575a-45a7-8336-f11d4955f701","available_quantity":999999999,"options":[{"name":"Color","value":"as picture"},{"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.