--- title: New Liquid global object and property - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: 'https://shopify.dev/changelog/new-liquid-global-object-and-property' md: 'https://shopify.dev/changelog/new-liquid-global-object-and-property.md' metadata: effectiveApiVersion: '' affectedApi: [] primaryTag: displayName: Themes handle: dev_themes secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2019-12-02T10:42:03-05:00' postedAt: '2019-12-02T00:00:00-05:00' updatedAt: '2024-02-02T10:04:55-05:00' effectiveAt: '2019-12-02T00:00:00-05:00' --- December 2, 2019 Tags: * Themes # New Liquid global object and property We’ve added a new global object and some new properties to Liquid, which are currently in production for all stores. #### `request.page_type` The `request.page_type` property returns the type of the current page, for example, `product`, `article`, and `index`. Learn more about the `request.page_type` property in the [Help Center](https://help.shopify.com/en/themes/liquid/objects/request#request-page_type). #### `routes` Generates URLs to your storefront. By using `routes` instead of hardcoded links, you can make sure your theme supports any changes to the URL format. Learn more about the `routes` global object in the [Help Center](https://help.shopify.com/en/themes/liquid/objects/routes). #### `product.options_by_name` Gives direct access to a product' option values by using the option name. Learn more about `product.options_by_name` property in the [Help Center](https://help.shopify.com/en/themes/liquid/objects/product#product-options_by_name). #### `allow_false` The `default` filter now accepts an `allow_false` argument. You can use `allow_false` to set a default value for any variable with no assigned value. This can be used with strings, arrays, and hashes. Learn more about this filter in the [Help Center](https://help.shopify.com/en/themes/liquid/filters/additional-filters#default).