# Routing System

The routing system is closely integrated with the ShopRenter theme system. A route represents an identifier that determines which subpage we are currently on. This is crucial during theme development as it helps locate the appropriate theme file and modify the layout associated with that route.

# Routes in ShopRenter

route description
product/list Product list/category page
product/manufacturers All manufacturers list page
filter Product list page after filtering
product/product Product page
information/information_list Content list page
information/information Content page
information/contact Contact page
information/personaldata Manage personal data page
information/sitemap Sitemap page
information/style_guide Style guide page
error/not_found 404 error page
account/account User account page
account/edit Edit account details page
account/password Password change page
account/address Modify address details page
account/waitinglist Notification requests page
account/history List of past orders page
account/invoice Detailed page of a past order
account/download List of downloadable products page
account/newsletter Newsletter subscription/unsubscription page
account/registration_contribution Accept/reject registration contribution
account/aaffiliate Affiliate subpage
wishlist/wishlist List of products in the wishlist

The template files for login, registration, cart, and checkout pages are not accessible in ShopRenter; the route value for these pages will be empty.

# Where and How to Use Routes?

  1. To determine the current page, you can retrieve it from the ShopRenter.page.route object in ShopRenter.js.

  2. Specify which layout corresponds to which route in the settings.json under the layouts property.

  3. In the Theme File Editor, locate theme files based on the route. For example, the product/product route corresponds to product/product.tpl.

An exception is the product/list route, which has multiple associated theme files instead of just product/list.tpl:

product/search.tpl Search results
product/category.tpl Product list/category page
product/manufacturer.tpl Product list for a specific manufacturer
product/productspecial.tpl Special offers list page
product/latestlist.tpl Newest products list page
© 2011 - 2025 Shoprenter Kft.