You asked

Canon ef 50mm f 1 8 stm vs canon ef 50mm f 1 8 ii?

The two lenses are the same 50mm f/1.8 prime for Canon EF mounts. Their listed specs match: full-frame sensors, autofocus, no stabilisation, and the same camera list. The only real difference the guide draws is with the older Canon EF 50mm f/1.8 II, which it calls the old plastic nifty fifty with noisy autofocus. Its Canon EF 50mm f/1.8 STM page doesn't describe its autofocus, so the guide can't say how much quieter it is beyond the name. Still, the guide's pick is the STM, since the II is the one it marks down.

Either lens is a sound first prime for people, food and low light, which is what the guide recommends a 50mm f/1.8 for. On full frame it gives a natural, slightly tight view. On APS-C, such as the Canon EOS 80D or Canon EOS 90D, it frames like 80mm and behaves like a classic portrait lens, as the portraits guide explains. Its f/1.8 aperture gives roughly the background blur of f/2.9 on that sensor, per the focal length converter.

On a full-frame body such as the Canon EOS 6D Mark II or Canon EOS 5D Mark IV, this lens is the natural choice. The guide's lenses page suggests pairing it with a standard zoom, such as a 24-70mm, for range.

Prices aren't covered here, so check the Price in France section on each lens page, which the guide says can change.

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}.