{% legacy_navbar %}
Shared top navigation.
Used in: All templates
| Parameter | Type | Default |
|---|---|---|
navbar_classes | String | "bg-gray-900 border-b border-gray-700" |
link_classes | String | "text-white" |
link_hover_classes | String | "hover:text-white hover:opacity-100" |
{% shopify_storefront_access_token %}
Outputs the project’s Shopify Storefront API public access token. Use this to make client-side requests to the Shopify Storefront GraphQL API, for example to fetch product data or build custom product browsing experiences.
Returns an empty string when the Shopify subscriptions app is not configured for the project.
The token is cached for 1 hour to avoid repeated Shopify Admin API calls.
Used in: All templates
{% shopify_store_domain %}
Outputs the Shopify store domain (for example my-store.myshopify.com) configured for the Shopify app. Use this to build Shopify Storefront API endpoints or other store-specific URLs directly in your templates.
Returns an empty string when the Shopify app is not configured for the project.
Used in: All templates
{% slide_out_pane %} ... {% endslide_out_pane %}
Reusable slide-out pane for custom overlays across Customer Portal templates.
Used in: All templates
| Parameter | Type | Default |
|---|---|---|
slide_from | String ("right"/"bottom") | "right" |
pane_id | String | "slide-out-pane" |
slide_out_percentage | String ("10" … "90") | "40" |
pane_idmaps to the pane DOMid.- If omitted in API calls, the first registered slide-out pane is used.
Translation Filter: | t
Use | t to translate strings from the self_service_center i18n namespace.
- Keys are resolved under
self_service_center(for example,dashboard.cancel_subscriptionmaps toself_service_center.dashboard.cancel_subscription). localeis optional; when omitted, the current request locale is used.defaultis optional; when present, it is used as fallback for missing translations.- If a translation key is missing and no
defaultis provided, the original key string is returned. - If required interpolation data is missing, the filter returns the original key with the missing argument name (for example,
churn_requests.skip_next_order.skip_orders (missing interpolation: count)).