You asked
What are the alternatives to the ttartisan af 40mm f 2?
The site's catalogue doesn't list other lenses that fit the same cameras, so this answer draws on the guide's lens advice rather than a like-for-like list. The TTArtisan AF 40mm f/2 is a 40mm prime that is autofocus, not stabilised, and marked for full frame, where it frames as a standard-to-slightly-wide 40mm. On APS-C it frames like 60mm, with f/2 giving about the depth of field of f/3.
The closest alternative in view is the 50mm f/1.8. The Portraits guide calls it the cheapest great lens in photography, made for almost every mount, and on full frame it gives a natural, slightly tight view. It is a little tighter than the 40mm, so it suits people who want a similar look with a touch more reach.
For a wider view, the guide points to a 35mm f/1.8 or f/1.4 for environmental portraits and groups. That's the better choice if you want the room around your subject, and the f/1.4 is the faster option for dim light.
The TTArtisan 40mm f/2.8 Macro is a different tool. It is made for APS-C cameras and is built for close-up work, so it isn't a substitute for a general-purpose prime.
To judge how much background blur each option gives on your camera, the focal length converter shows how the crop factor changes the effective aperture. For the basics of aperture and light, see Lenses.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.