Canonical mismatch issues

Recently engaged a web expert to sort out the canonical, Error and 404 issues that Google Search Console had highlighted. Is this something I need to do periodically, or has Shopify/an App got a fix for this?

This requires a few lines of code in the theme, so the problem has been solved until the next major update and/or further changes that affect this section of the code.