> ## Documentation Index
> Fetch the complete documentation index at: https://docs.global-e.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customization

Global-e cartridges follow SFCC LINK partner guidelines: install **`int_globale`** plus a storefront extension without modifying `app_storefront_base`. Global-e **does not recommend** editing **`int_globale`** directly.

Extend behavior in **`int_globale_sfra`**, **`int_globale_sitegenesis`**, or your brand cartridge using the same patterns as SFRA/SiteGenesis overrides (copy or superModule extend controllers, models, templates, and client JS).

**Related topics:** [Session attributes](/session-attributes-sfcc) · [Customer groups](/customer-groups-sfcc) · [Client JS SDK](/client-js-sdk-sfcc) · [Hooks](/hooks-sfcc)

## Extension cartridge rules

If you customize a controller, model, or template from **`int_globale`**, copy or extend it in **`int_globale_sfra`** / **`int_globale_sitegenesis`** (or your brand cartridge) and keep changes out of core.

Some **`int_globale_sitegenesis`** templates override SiteGenesis core and hardcode cartridge IDs (for example `importScript('app_storefront_core:catalog/libCompareList.ds')`). Update those IDs to match your project's core cartridge when needed.

After installation, align existing brand logic with Global-e using either approach:

* Customize scripts and templates in **`int_globale_sfra`** or **`int_globale_sitegenesis`**, or
* Move overrides into your brand cartridge.

## Hiding non-applicable elements

Hide domestic-only UI for Global-e operated countries by checking session or app context. Example from **`int_globale_sfra/cartridge/templates/default/cart/cartShippingMethodSelection.isml`** (shipping methods do not apply to Global-e checkout):

```xml theme={null}
<isset name="geAppContext" value="${require('*/cartridge/scripts/factories/globale/geAppContextMgr').getAppContext()}" scope="page"/>
<isif condition="${!geAppContext.country.isOperated()}">
    <div class="col-12">
        ...
    </div>
</isif>
```

Equivalent check using [session attribute](/session-attributes-sfcc) `geIsOperated`:

```xml theme={null}
<isset name="globaleSession" value="${require('*/cartridge/models/globale/session')}" scope="page"/>
<isif condition="${!globaleSession.get('geIsOperated')}">
    <!-- domestic-only block -->
</isif>
```

Common elements to hide for Global-e customers:

* Domestic shipping methods on the cart page
* PayPal or other domestic payment methods on the cart page
* In-store pickup
* Domestic customer service contact information

For welcome popup, country switcher, and checkout iframe behavior, see [Client JS SDK](/client-js-sdk-sfcc). For checkout and order flows, see [Checkout flow](/checkout-flow-sfcc).
