Skip to main content

Documentation Portal

Customer Groups

Global‑e cartridge(s) exposes several session custom attributes which you can use while you're configuring Dynamic Customer Group. You can use then the Customer Group in your Content Slots, Promotion Campaigns, etc.

Global‑e Session custom Attributes

Here is the list of Global‑e custom attributes of SFCC session object (full list of exposed attributes you can find in int_globale/cartridge/models/globale/session.js):

Attribute

Type

Description

Default Value

Sample Value

geEnabled

Boolean

Whether the Global-e is enabled in Site Preference or not

false

true

geCountry

String

The currently selected (or identified by SFCC GeoLocation) country ISO2 code

US

geOperatedCountry

Boolean

Whether the currently selected (or identified by SFCC GeoLocation) Country operated by Global-e or not

false

true

geSupportsFixedPrices

Boolean

Whether the currently selected (or identified by SFCC GeoLocation) Country is set as Fixed Price Country or not

false

true

geUseFixedPricesOnly

Boolean

Whether only prices defined in Fixed Price Country price book will be used on Storefront (if currently selected country is Operated by Global-e and set as Fixed Price Country) or Dynamic price conversion fallback as well

false

true

geCurrency

String

The Currency ISO3 Code, selected in Global‑e Country Switcher or default Currency Code of selected (or identified by SFCC GeoLocation) Country

USD

gePriceStrategy

String

Whether the currently selected (or identified by SFCC GeoLocation) Country is set as FIXED or DYNAMIC price strategy

Dynamic

fixed

Dynamic Customer Group

For example, if you want promotions targeted only to Australia, which is operated by Global‑e (any currency), then you can configure Dynamic Customer Group as shown in the picture below:

image39.tmp

Go to "Membership Rule" / "Include Customers with" section and add three "Session Custom Attribute" parameters:

image41.tmp
  • geOperatedCountry = exists AND

  • geOperatedCountry = "is true" AND

  • geCountry = ["AU"]

You can combine geOperatedCountry, geCountry, geCurrency and any other available (not only Global-e) session custom attribute with "AND", "OR", etc.