${function() {
const variantData = data.variant || {"id":"a7418289-96d0-470d-b549-6b59d10c634f","product_id":"8eba0975-3492-492f-9fc1-e3246d3483f8","title":"Khaki-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Khaki-M-A00431952","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38877da9f52dfae8c541b1a2aec7147e.png","path":"38877da9f52dfae8c541b1a2aec7147e.png","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.29,"min_quantity":1}],"weight":"0.5","compare_at_price":"78.58","price":"39.29","retail_price":"78.58","available":true,"url":"\/products\/mens-casual-colorblock-walking-suit-1hef?variant=a7418289-96d0-470d-b549-6b59d10c634f","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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":"a7418289-96d0-470d-b549-6b59d10c634f","product_id":"8eba0975-3492-492f-9fc1-e3246d3483f8","title":"Khaki-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-Khaki-M-A00431952","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38877da9f52dfae8c541b1a2aec7147e.png","path":"38877da9f52dfae8c541b1a2aec7147e.png","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.29,"min_quantity":1}],"weight":"0.5","compare_at_price":"78.58","price":"39.29","retail_price":"78.58","available":true,"url":"\/products\/mens-casual-colorblock-walking-suit-1hef?variant=a7418289-96d0-470d-b549-6b59d10c634f","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}