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.

The routes object has the following attributes: