-
Notifications
You must be signed in to change notification settings - Fork 1
Page URLs
Vladimir Krylov edited this page Oct 6, 2016
·
4 revisions
We recommend to use this helpers as if application logic changes you shouldn't change all urls. It also saves localization from url
- root - produces "/"
- products - produces "/products"
- collections - produces "/collections"
- cart - produces "/cart" - show client cart
- login - produces /login - that customer could see his private data
- logout - produces /logout
- order - produces "/orders" - to see all your orders
- search - produces "/search" - search base url
- current_url - return current page full url
- current_path - return current path
- current_host - returns current host
- blog - produces "/blog"