routes object
Allows you to use standard URLs in store theme.
By using the routes object rather than hardcoding URLs, you help ensure that your theme supports multiple languages and can adapt to any potential changes in URL format in the future.
Properties
The account address creation page URL.
The account login page URL.
The URL for logging a customer out of their account. When activated, it redirects to the account login page.
The account order list page URL.
The password recovery page URL.
The account registration page URL.
The account page URL.
The URL for the all-products collection.
The all-products collection is automatically created by Shopline and includes all products available in the store.
The URL for the /cart/add Cart API endpoint.
The URL for the /cart/change Cart API endpoint.
The URL for the /cart/update Cart API endpoint.
The cart page URL.
The collection list page URL.
The index (home page) URL.
The search page URL.