Open a coupon page, or show a discount code to present at checkout.
Fill in the fields at the top of the page and the code updates as you type. Change the colors or add a logo if you want, then download it as PNG, SVG or JPG. Scan it with your own phone before it goes anywhere near a printer.
This one points to something online, so the address has to stay live. If the page moves or disappears, the code leads nowhere. Keep the destination somewhere you control.
That's handled by your shop or coupon page. The QR code just takes people there.