Well I have an idea to create custom module in magento2 but when it comes to override code functionality I stucks.
for example I have to override this file
to gain functionality like product thumbnail and product url in order confirmation mail so how to achieve this.
I have done this in core files which I want to do using overriding. I am confused on overriding
.phtml file, and class file so how to achieve this?