How to generate QR code for different products to recognize them using QR code scanner

Hello!
I am working on a project in which I want to generate a QR code for different products to recognize them with their details like product_id, product_name, product_price, description, manufacture date, and expiry date, etc in the QR code scanner for checkout

1 Reply 1 reply marked as answer

GG Gowtham Gunashekar Syncfusion Team January 20, 2021 01:37 PM UTC

Hi Ishan, 
 
We have added the code snippet to create a QR Code and how to set the value for the QR code. 
 
Code snippet: 
@using Syncfusion.EJ2.BarcodeGenerator 
 
@(Html.EJS().QRCodeGenerator("container").Width("200px").Height("150px").Value("product_id:'prod1221', product_name:'qrcode', product_price:'500$', description:'create qr code', manufacture date:'01/01/2021',expiry date:'01/01/2050'").DisplayText(s => s.Visibility(false)).Render() ) 
 
Regards, 
Gowtham 
 


Marked as answer
Loader.
Up arrow icon