Checkout Selectors
getCheckoutUrl
Section titled “getCheckoutUrl”Retrieves the current checkout URL from the store.
import { getCheckoutUrl } from '@shopgate/engage/checkout';Attention: The following import path is deprecated. Use the path from the example above instead:
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.

