${function() {
const variantData = data.variant || {"id":"f3598b7d-5624-45c6-8071-8f12b58d5f02","product_id":"a17a0e2c-7ae6-4499-a09c-5c5962c3c8f1","title":"Brown-6.5","weight_unit":"kg","inventory_quantity":1000,"sku":"D22121607-Brown-38","barcode":"","position":1,"option1":"Brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cb3a8dd97cc301e3d9b1fdbf9d1091e2.jpeg","path":"cb3a8dd97cc301e3d9b1fdbf9d1091e2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/mens-fashion-leather-comfortable-oxfords-dress-shoes?variant=f3598b7d-5624-45c6-8071-8f12b58d5f02","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"6.5"}],"off_ratio":7,"flashsale_info":[],"sales":11};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"f3598b7d-5624-45c6-8071-8f12b58d5f02","product_id":"a17a0e2c-7ae6-4499-a09c-5c5962c3c8f1","title":"Brown-6.5","weight_unit":"kg","inventory_quantity":1000,"sku":"D22121607-Brown-38","barcode":"","position":1,"option1":"Brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cb3a8dd97cc301e3d9b1fdbf9d1091e2.jpeg","path":"cb3a8dd97cc301e3d9b1fdbf9d1091e2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/mens-fashion-leather-comfortable-oxfords-dress-shoes?variant=f3598b7d-5624-45c6-8071-8f12b58d5f02","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"6.5"}],"off_ratio":7,"flashsale_info":[],"sales":11};
return `
`
}()}