${function() {
const variantData = data.variant || {"id":"f9502256-f96c-4d80-81c5-ed453a8972e1","product_id":"5a2e0d8d-9da4-4e90-bd1a-1a212cf6c2b6","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00444804","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/04b15ba482a643fcb7babd52d5782db2.jpeg","path":"04b15ba482a643fcb7babd52d5782db2.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/taylor-swift-karma-is-a-cat-tee-for-women-1?variant=f9502256-f96c-4d80-81c5-ed453a8972e1","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"f9502256-f96c-4d80-81c5-ed453a8972e1","product_id":"5a2e0d8d-9da4-4e90-bd1a-1a212cf6c2b6","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-White-S-A00444804","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/04b15ba482a643fcb7babd52d5782db2.jpeg","path":"04b15ba482a643fcb7babd52d5782db2.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/taylor-swift-karma-is-a-cat-tee-for-women-1?variant=f9502256-f96c-4d80-81c5-ed453a8972e1","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}