Checkout Selectors
getCheckoutUrl
Section titled “getCheckoutUrl”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'
Parameters
Section titled “Parameters”state(Object) required: The application state.
Returns
Section titled “Returns”(string|null) The checkout URL or null if no URL is found.

