${function() {
const variantData = data.variant || {"id":"e671a3f3-1b0b-4e31-b44b-d45827b3041f","product_id":"0e9ea88e-7153-48a7-b2a9-66165b2be01e","title":"White-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-M-A00432440","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/914720482033c71b14a5a9d030e6e4ac.png","path":"914720482033c71b14a5a9d030e6e4ac.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-s82b?variant=e671a3f3-1b0b-4e31-b44b-d45827b3041f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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":"e671a3f3-1b0b-4e31-b44b-d45827b3041f","product_id":"0e9ea88e-7153-48a7-b2a9-66165b2be01e","title":"White-M","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-M-A00432440","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/914720482033c71b14a5a9d030e6e4ac.png","path":"914720482033c71b14a5a9d030e6e4ac.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-s82b?variant=e671a3f3-1b0b-4e31-b44b-d45827b3041f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}