${function() {
const variantData = data.variant || {"id":"3bf2c45e-d249-4c70-ac02-28a8946de511","product_id":"63f510b2-a7eb-47ca-a7ea-7c6493f4ae33","title":"Orange-S","weight_unit":"g","inventory_quantity":1000,"sku":"X131-230810-08-8H5BJMAQGF-Orange-S","barcode":"","position":11,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a57cad6b38730c0695f98200238ccfa9.jpeg","path":"a57cad6b38730c0695f98200238ccfa9.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"500","compare_at_price":"46.99","price":"46.99","retail_price":"46.99","available":true,"url":"\/products\/mens-long-fashion-casual-coat?variant=3bf2c45e-d249-4c70-ac02-28a8946de511","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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.