${function() {
const variantData = data.variant || {"id":"11529a9c-6596-493e-92ea-78d0bcff6d88","product_id":"a675e45e-1dd5-4c30-9198-c8ada32f1981","title":"Dark blue-M","weight_unit":"kg","inventory_quantity":0,"sku":"YP2404259770-Dark blue-M","barcode":"","position":1,"option1":"Dark blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcf6b72b1f97c59bf4090dc610cd9b9e.png","path":"fcf6b72b1f97c59bf4090dc610cd9b9e.png","width":960,"height":1200,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.99","retail_price":"0","available":true,"url":"\/products\/mens-v-neck-luxurious-textured-print-shorts-set-2111d75adad-1d7b-45d9-bcba-9273ff23d1e1?variant=11529a9c-6596-493e-92ea-78d0bcff6d88","available_quantity":999999999,"options":[{"name":"Color","value":"Dark blue"},{"name":"Size","value":"M"}],"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.