Skip to content

Checkout Selectors

Retrieves the current checkout URL from the store.

import { getCheckoutUrl } from '@shopgate/engage/checkout';

Attention: The path to the old modules is deprecated and will be removed in ENGAGE v7: import { getCheckoutUrl } from '@shopgate/pwa-common-commerce/checkout'

  • state (Object) required: The application state.

(string|null) The checkout URL or null if no URL is found.