${function() {
const variantData = data.variant || {"id":"f48389d1-8de1-4949-b5f6-ea82cb77c5dc","product_id":"7c7dfdbd-db7e-4416-b15a-d05bec8758e1","title":"Red-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Red-M-A00430683","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a3fbdede7a7cb191289cd225700ac5e.jpeg","path":"7a3fbdede7a7cb191289cd225700ac5e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.55,"min_quantity":1}],"weight":"0.5","compare_at_price":"75.1","price":"37.55","retail_price":"75.1","available":true,"url":"\/products\/mens-casual-short-sleeve-red-sports-hiking-suit?variant=f48389d1-8de1-4949-b5f6-ea82cb77c5dc","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":50,"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.
${function(){
const variantData = data.variant || {"id":"f48389d1-8de1-4949-b5f6-ea82cb77c5dc","product_id":"7c7dfdbd-db7e-4416-b15a-d05bec8758e1","title":"Red-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Red-M-A00430683","barcode":"","position":1,"option1":"Red","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a3fbdede7a7cb191289cd225700ac5e.jpeg","path":"7a3fbdede7a7cb191289cd225700ac5e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":37.55,"min_quantity":1}],"weight":"0.5","compare_at_price":"75.1","price":"37.55","retail_price":"75.1","available":true,"url":"\/products\/mens-casual-short-sleeve-red-sports-hiking-suit?variant=f48389d1-8de1-4949-b5f6-ea82cb77c5dc","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}