${function() {
const variantData = data.variant || {"id":"a1879fb8-0700-481d-847e-39df7511ce9d","product_id":"d05ece7b-e464-409f-9c8b-178dd41d892b","title":"black-US7","weight_unit":"","inventory_quantity":147,"sku":"-black-7-A00142487","barcode":"","position":1,"option1":"black","option2":"US7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ddf0b8184e9f49060d0cb265ca020eb5.jpeg","path":"ddf0b8184e9f49060d0cb265ca020eb5.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/men-canvas-fashion-casual-comfortable-breathable-loafers-slip-on-shoes?variant=a1879fb8-0700-481d-847e-39df7511ce9d","available_quantity":147,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"US7"}],"off_ratio":0,"flashsale_info":[],"sales":83};
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":"a1879fb8-0700-481d-847e-39df7511ce9d","product_id":"d05ece7b-e464-409f-9c8b-178dd41d892b","title":"black-US7","weight_unit":"","inventory_quantity":147,"sku":"-black-7-A00142487","barcode":"","position":1,"option1":"black","option2":"US7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ddf0b8184e9f49060d0cb265ca020eb5.jpeg","path":"ddf0b8184e9f49060d0cb265ca020eb5.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/men-canvas-fashion-casual-comfortable-breathable-loafers-slip-on-shoes?variant=a1879fb8-0700-481d-847e-39df7511ce9d","available_quantity":147,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"US7"}],"off_ratio":0,"flashsale_info":[],"sales":83};
return `
`
}()}