request object
Information about the current URL and the associated page.
Properties
| Name | Type | Description |
|---|---|---|
url | string | The url of the request. |
host | string | The domain that the request is hosted on. |
path | string | The path of the request, for example /products/linen-shirt. |
design_mode | boolean | Returns true if the request is being made from within the theme editor. Returns false if not. |
locale | store_locale | The language of the request. |