TEST - Liquid - Object Fields
current_requestReturns a Request object with details about the current web request |
||
| Liquid | Result | Description |
|---|---|---|
| current_request.base_url | https://proma.global/na | Store base url including the store path if present |
| current_request.canonical_path | https://proma.global/na | canonical path for the current request |
| current_request.fullpath | /na/LiquidFields210121A | Full path for the current request including the query string |
| current_request.host | proma.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":"na","controller":"cms/content_pages","action":"show","path":"LiquidFields210121A"} | Map of query string parameters for the current request |
| current_request.path | /na/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://proma.global/na/LiquidFields210121A | Entire URL used for the request |
current_pageThe Page if present. Will be empty unless the current page is a Page |
||
| 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 | a0L2v00001pAbrbEAC | The unique id for this Page |
| current_page.meta_description | 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 | /na/LiquidFields210121A | The URL path for this Page |
| current_page.title | TEST - Liquid - Object Fields | The value of the Title attribute |
| current_page.url | https://proma.global/na/LiquidFields210121A | The complete URL for this Page |
current_customerReturns the Contact for the logged in user if present |
||
| 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 | |
current_accountReturns the Account for the logged in user if present |
||
| 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 | |
current_membershipReturns the Account for the logged in user if present |
||
| Liquid | Result | Description |
|---|---|---|
| current_membership.id | notes | |
| current_membership.name | notes | |
current_cartReturns the Cart if present. May be empty if no Cart has been created yet |
||
| 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 | |
Product CategoryExample using the "Aloe Problem Solvers" Product Category |
|
| Liquid | Result |
|---|---|
| ProductCategory.identifier | aloe-problem-solvers |
| ProductCategory.image | |
| ProductCategory.information_content | |
| ProductCategory.name | Aloe Problem Solvers |
| ProductCategory.path | /na/aloe-problem-solvers |
| ProductCategory.products | Lookup[Product] |
| ProductCategory.subtitle | |
| ProductCategory.title | Grace - Aloe Problem Solvers |
| ProductCategory.url | https://proma.global/na/aloe-problem-solvers |
ProductExample using the "Aloe Deep Cleanser Jar" Product |
|
| Liquid | Result |
|---|---|
| Product.related_products | Vital Skin Oils |
| Product.related_products.size | 5 |
| Product.meta_description | Cleansing Balm Rich In Botanical Oils |
| Product.product_sub_title | |
| Product.add_to_cart_text | Add to Bag |
| Product.buy_it_now_text | Buy it Now |
| Product.can_add_to_cart? | true |
| Product.content_blocks | List[ContentBlock] |
| Product.move_up_points | |
| Product.qualifying_points | |
| Product.travel_credits | |
| Product.rrp_price | |
| Product.qualifying_list_price | |
| Product.customer_price | |
| Product.standard_list_price | |
| Product.c_list_summary | |
| Product.c_sub_title | |
| Product.discontinued? | false |
| Product.documents | List[Document] |
| Product.id | 01t2v00000CrIAxAAN |
| Product.identifier | aloe-deep-cleanser-jar-100g-9575 |
| Product.image | Image |
| Product.image.url | ![]() |
![]() ![]() ![]() ![]() ![]() |
|
| Product.name | Aloe Deep Cleanser Jar |
| Product.path | /na/products/aloe-deep-cleanser-jar-100g-9575 |
| Product.pricing | ProductPricing |
| Product.product_code | 10002 |
| related_products | |
| Product.slug | aloe-deep-cleanser-jar-100g-9575 |
| Product.title | |
| Product.unavailable_text | Unavailable |
| Product.url | https://proma.global/na/products/aloe-deep-cleanser-jar-100g-9575 |
| Product.product_features.id | |
| Product.product_features.product_options.id | |
| Product.product_options | |
| Product.downloads_content | |
| Product.downloads_label | Reviews |
| Product.features_label | Details |
| Product.specifications_content |
|
| Product.specifications_label | Ingredients |
| Product.summary_content |
SKIN TYPE: Normal to Dry, MatureSKIN CONCERN: Dryness, Signs of ageing, Enlarged poresOur aloe vera, all-natural, luxurious balm melts into a silky cleansing oil to remove even the most stubborn makeup, dirt and oil build up. The Aloe Deep Cleanser is pH neutral and gentle enough to use on and around the eye area. Your skin will feel nourished, supple and oh so soft - never stripped nor dry. The water-soluble combination of aloe in oil, essential vitamins A, B and E, jojoba, and wintergreen oils provide antibacterial and antioxidant benefits. This deep cleansing oil penetrates beyond the surface of the skin to release pores of hardened oils, whiteheads and blackheads. Experience salon-grade results, naturally, with this aloe vera deep cleanser. Your skin will fall in love! |
| Product.summary_label | |
| Product.support_content | |
| Product.support_label | How to |
| Product.warranty_content | |
| Product.warranty_label | Real results |
| Product.meta_description | Cleansing Balm Rich In Botanical Oils |
| Product.meta_keywords | Aloe deep cleanser, cleansing balm, Botanical Oils, age defying, remove all makeup |
| Product.meta_title | Aloe Deep Cleanser (Jar) |
| Product.can_ship? | true |
| Product.shipping_methods | pick_upParcel Post (eParcel)Express PostSatchelRoad ExpressExpress Post InternationalExpedited Parcel PostCourierPost PNGFree Shipping Promo |
| Product.trait_groups | List[TraitGroup] |
| Product.traits | List[Trait] |
| Product.master | |
| Product.master? | true |
| Product.variant_title | |
| Product.variant_types | List[VariantType] |
| Product.variants | Lookup[Product] |
Current Store |
|
| Liquid | Result |
|---|---|
| current_store.data.P_Geo__c | NA |
| current_store.data.p_geo__c | NA |
| current_store.code | pro-ma-na |
| current_store.currency_code | CAD |
| current_store.currency_symbol | $ |
| current_store.domain | proma.global |
| current_store.id | a0q2v00000Sye9fAAB |
| current_store.locale | en-CA |
| current_store.logo | Image |
| current_store.name | Pro-Ma NA |
| current_store.timezone | UTC |
| current_store.zone.name | Canada |
| current_store.account_path | /na/account |
| current_store.orders_path | /na/account/orders |
| current_store.cart_path | /na/cart |
| current_store.checkout_path | /na/checkout |
| current_store.forgot_password_path | /na/auth/password/new |
| current_store.home_path | /na |
| current_store.login_path | /na/auth/sign_in |
| current_store.logout_path | /na/auth/sign_out |
| current_store.path | na |
| current_store.resend_confirmation_path | /na/auth/confirmation/new |
| current_store.search_path | /na/search |
| current_store.url | https://proma.global/na |
| 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 | /na/LiquidFields210121A |
| urrentProductCategory | |
| currentProductCategoryPath | |
| current_product_category.url | |
