${function() {
const variantData = data.variant || {"id":"0a16062c-d54b-44d0-9100-2ab6d49a0f75","product_id":"bad9935e-f5f8-49a4-88ef-f5545c7071f5","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-S-A00433366","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ade58ff4ea1e64fc8b5d027aa3767cf.png","path":"6ade58ff4ea1e64fc8b5d027aa3767cf.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"79.98","price":"39.99","retail_price":"79.98","available":true,"url":"\/products\/casual-red-and-black-stripe-printed-shirt-and-shorts-co-ord?variant=0a16062c-d54b-44d0-9100-2ab6d49a0f75","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"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":"0a16062c-d54b-44d0-9100-2ab6d49a0f75","product_id":"bad9935e-f5f8-49a4-88ef-f5545c7071f5","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"LSN-White-S-A00433366","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ade58ff4ea1e64fc8b5d027aa3767cf.png","path":"6ade58ff4ea1e64fc8b5d027aa3767cf.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"79.98","price":"39.99","retail_price":"79.98","available":true,"url":"\/products\/casual-red-and-black-stripe-printed-shirt-and-shorts-co-ord?variant=0a16062c-d54b-44d0-9100-2ab6d49a0f75","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}