Yes, you can put a QR code on a shirt. Printing a QR code on fabric is feasible using methods like screen printing, heat transfer, or direct-to-garment printing. However, the effectiveness of the QR code depends on factors such as the size of the code, the contrast between the code and the fabric, and the scanning distance. It's essential to ensure that the QR code is large enough and printed clearly to be scannable. Additionally, consider the placement of the QR code on the shirt to ensure it's easily accessible for scanning.