| Liquid | Result | Description |
| current_request.base_url | https://gracecosmetics.global/pg | Store base url including the store path if present |
| current_request.canonical_path | https://gracecosmetics.global/pg | canonical path for the current request |
| current_request.fullpath | /pg/LiquidFields210121A | Full path for the current request including the query string |
| current_request.host | gracecosmetics.global | Hostname used for this request |
| current_request.local_path | /LiquidFields210121A | path for the current request without the store, i.e., everything after the host name plus store path e.g. β/au/my-pathβ returns β/my-pathβ |
| current_request.page_number | | page number from the query string. Note the query parameter is configurable, and there could be multiple on a page. The first one used is returned. |
| current_request.params | {"store_path":"pg","controller":"cms/content_pages","action":"show","path":"LiquidFields210121A"} | Map of query string parameters for the current request |
| current_request.path | /pg/LiquidFields210121A | Path for the current request, i.e., everything after the host name |
| current_request.query_string | | query string part of the URL, i.e., everything after β?β e.g. βpage=1β |
| current_request.query_string | | Query string part of the URL, i.e., everything after '?' |
| current_request.url | https://gracecosmetics.global/pg/LiquidFields210121A | Entire URL used for the request |
| Liquid | Result | Description |
| current_page.base_path | LiquidFields210121A | The value of the Path attribute, without the Store path |
| current_page.children |
|
Returns a list of child Pages |
| current_page.content_blocks |
liquid-reference
|
Returns list of ContentBlocks belonging to this Page |
| current_page.home_page? | false | Returns true if this Page is the Store's home page |
| current_page.identifier | LiquidFields210121A | notes |
| current_page.id | a0L2v00001pAboMEAS | The unique id for this Page |
| current_page.meta_description | A clean beauty brand, Australian made & cruelty free, committed to cosmeceutical, all-natural, organic aloe vera based skincare | The value of the Meta Description attribute |
| current_page.meta_keywords | | The value of the Meta Keywords attribute |
| current_page.meta_title | | The value of the Meta Title attribute |
| current_page.name | TEST - Liquid - Object Fields | The value of the Name attribute |
| current_page.path | /pg/LiquidFields210121A | The URL path for this Page |
| current_page.title | TEST - Liquid - Object Fields | The value of the Title attribute |
| current_page.url | https://gracecosmetics.global/pg/LiquidFields210121A | The complete URL for this Page |
| Liquid | Result | Description |
| current_customer | | notes |
| current_customer.id | | notes |
| current_customer | | notes |
| current_customer.name | | notes |
| current_customer.firstname | | notes |
| current_customer.lastname | | notes |
| current_customer.email | | notes |
| current_customer.mobile_phone | | notes |
| current_customer.phone | | notes |
| current_customer.mailing_city | | notes |
| current_customer.mailing_country | | notes |
| current_customer.mailing_postal_code | | notes |
| current_customer.mailing_state | | notes |
| current_customer.mailing_street | | notes |
| current_customer.membership | | notes |
| current_customer.username | | notes |
| Liquid | Result | Description |
| current_account.id | | notes |
| current_account.data.full_sfid_account__c | | notes |
| current_customer.data.full_sfid_contact__c | | notes |
| current_account.data.p_ambassador__c | | notes |
| current_account | | notes |
| current_account.name | | notes |
| current_account.data.s_c__subdomain__c | | notes |
| current_account.customerid | | notes |
| current_account.phone | | notes |
| current_account.shipping_city | | notes |
| current_account.shipping_country | | notes |
| current_account.shipping_postal_code | | notes |
| current_account.shipping_state | | notes |
| current_account.shipping_street | | notes |
| current_account.billing_city | | notes |
| current_account.billing_country | | notes |
| current_account.billing_postal_code | | notes |
| current_account.billing_state | | notes |
| current_account.billing_street | | notes |
| current_account.position | | notes |
| Liquid | Result | Description |
| current_cart.cache_key | carts/new | Returns a key that can be used for caching. |
| current_cart.currency_payment_required? | false | Returns true if the Cart requires a currency amount to be charged at checkout |
| current_cart.id | | Unique id for this Cart |
| current_cart.item_count | 0 | The total number of items in this Cart |
| Items |
|
Returns a list of LineItems in this Cart |
| Qual Points | | QP for the current cartItem |
| current_cart.shipping_cost | 0.0 | The shipping cost for this Cart |
| current_cart.sub_total | 0 | The sub total price for all LineItems, excluding any taxes where tax is exclusive |
| current_cart.sub_total_points | 0 | Sub total points price for all LineItems |
| current_cart.total | 0 | Total price including tax for this Cart |
| current_cart.total_payable | 0 | Total amount to be paid at checkout for this Cart |
| current_cart.total_tax | 0 | Total tax for this Cart |
| TEST |
Spend $100.00 more to claim your free eye cream.
|
Testing Liquid for need $100 before free product |
| TEST |
|
Testing check if any products have maximum quantity = 1 |
| Liquid | Result |
| current_store.data.P_Geo__c | PG |
| current_store.data.p_geo__c | PG |
| current_store.code | grace-cosmetics-png |
| current_store.currency_code | PGK |
| current_store.currency_symbol | K |
| current_store.domain | gracecosmetics.global |
| current_store.id | a0q2v00000Sye9jAAB |
| current_store.locale | |
| current_store.logo | Image |
| current_store.name | Grace Cosmetics PNG |
| current_store.timezone | UTC |
| current_store.zone.name | Papua New Guinea |
| current_store.account_path | /pg/account |
| current_store.orders_path | /pg/account/orders |
| current_store.cart_path | /pg/cart |
| current_store.checkout_path | /pg/checkout |
| current_store.forgot_password_path | /pg/auth/password/new |
| current_store.home_path | /pg |
| current_store.login_path | /pg/auth/sign_in |
| current_store.logout_path | /pg/auth/sign_out |
| current_store.path | pg |
| current_store.resend_confirmation_path | /pg/auth/confirmation/new |
| current_store.search_path | /pg/search |
| current_store.url | https://gracecosmetics.global/pg |
| current_store.geolocation.enabled? | false |
| current_store.geolocation.sibling_stores | List[Store] |
| current_store.geolocation.suggested_store | |
| current_store.authentication_providers.name | |
| current_request.fullpath | /pg/LiquidFields210121A |
| urrentProductCategory | |
| currentProductCategoryPath | |
| current_product_category.url | |