${function() {
const variantData = data.variant || {"id":"590b766a-726d-423e-99db-045d4f6e063b","product_id":"8889e017-9933-433e-bf3c-6ab4cfb419d2","title":"ArmyGreen-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-16-X7HA6JDY47-ArmyGreen-S","barcode":"","position":17,"option1":"ArmyGreen","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f4d2cd296bdb2db7b97192b07b4277b.jpeg","path":"7f4d2cd296bdb2db7b97192b07b4277b.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"300","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-henry-collar-cotton-and-linen-solid-color-pocket-short-sleeve-shirt?variant=590b766a-726d-423e-99db-045d4f6e063b","available_quantity":999999999,"options":[{"name":"Color","value":"ArmyGreen"},{"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.