The routes object
You can use the routes object to generate dynamic URLs to your storefront. By using them instead of hardcoded links, you can make sure your theme supports any changes to the URL format. For example, you can use the routes object to support multiple languages in your theme.
routes object has the following attributes:
Returns the base URL of the shop.
Returns the URL for the account page.
Returns the URL for the account login page.
Returns the URL to log the customer out of their account.
Returns the URL for the account registration page.
Returns the URL for the page where the customer can manage the addresses associated with their account.
Returns the URL for the collections page.
Returns the URL for the collection th