${function() {
const variantData = data.variant || {"id":"03fa554e-668c-4b4e-a454-02986fddfe0b","product_id":"acbd271a-6a83-45d7-b65f-b769e36cdfd7","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-13-LHHFBA4BLV-black-S","barcode":"","position":6,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52fc4b2945f8a0b35fb6c7a03353378d.jpeg","path":"52fc4b2945f8a0b35fb6c7a03353378d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"24.99","retail_price":"23.99","available":true,"url":"\/products\/mens-cotton-and-linen-solid-color-round-neck-short-sleeved-t-shirt?variant=03fa554e-668c-4b4e-a454-02986fddfe0b","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.