The global variables and the types of value Sooquna themes read.
| Name |
Summary |
all_products |
Products by handle: all_products[‘linen-abaya’]. |
blogs |
Blogs by handle: blogs[‘news’].articles. |
canonical_url |
Canonical URL of the current page (includes ?page= after page 1). |
cart |
The shopper’s cart. |
collections |
Collections by handle: collections[‘sale’], collections.all. |
content_for_header |
Required in the layout’s <head>: meta, scripts and styles the platform adds. |
content_for_layout |
Required in the layout’s <body>: the template’s content. |
current_page |
The ?page= number (1 by default). |
customer |
The signed-in customer, nil for guests. |
features |
Store features that are on (Features in admin): features.wishlist, features.reviews… |
linklists |
Navigation menus by handle: linklists[‘main-menu’].links. |
localization |
Languages and countries, for the language selector. |
page_description |
SEO description of the current page (empty when none). |
page_image |
Share image of the current page (the store’s share image by default). |
page_title |
SEO title of the current page. |
pages |
Pages by handle: pages[‘about’].content. |
powered_by_link |
A “Powered by Sooquna” link. |
recently_viewed |
Products the shopper viewed (from ?recent_ids=, sent by a recently-viewed section). |
request |
The current request. |
routes |
Storefront URLs, with the language prefix where needed. |
settings |
Theme settings (config/settings_schema.json). |
shop |
The store. |
template |
The current template. |
theme |
The theme being rendered. |
| Name |
Summary |
article |
A blog post. |
blog |
A blog. |
collection |
A collection. |
current_tags |
Tags filtering a blog (/blogs/news/tagged/x). |
custom_page |
A custom landing page (custom_pages/<name>.liquid, at /custom/<name>). |
form_error |
The wrong-password message on the password page. |
metaobject |
An entry of a custom content type, on its own page. |
page |
A content page. |
predictive_search |
Suggestions for a predictive-search section (rendered with section_id=). |
product |
A product. |
recommendations |
Product recommendations for a section (rendered with product_id= and section_id=). |
robots |
Default robots.txt rules, for templates/robots.txt.liquid. |
search |
Search results. |
wishlist |
The wishlist page (/wishlist). |
| Name |
Summary |
block |
The current block. |
closest |
Objects a section hands down to every theme block inside it. |
section |
The current section. |
| Name |
Summary |
forloop |
Loop state inside for. |
form |
Form state inside form. |
paginate |
Pagination state inside paginate. |
tablerowloop |
Loop state inside tablerow. |