woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout/utils.js

9 lines
207 B
JavaScript

/**
* External dependencies
*/
import { LOGIN_URL } from '@woocommerce/block-settings';
export const LOGIN_TO_CHECKOUT_URL = `${ LOGIN_URL }?redirect_to=${ encodeURIComponent(
window.location.href
) }`;