Show Checkout block in editor also when guest checkout is not allowed (https://github.com/woocommerce/woocommerce-blocks/pull/2958)
This commit is contained in:
parent
5a300b91c2
commit
fcf8f5c51f
|
@ -180,7 +180,7 @@ const Checkout = ( { attributes, scrollToTop } ) => {
|
||||||
window.location.href
|
window.location.href
|
||||||
) }`;
|
) }`;
|
||||||
|
|
||||||
if ( ! customerId && ! CHECKOUT_ALLOWS_GUEST ) {
|
if ( ! isEditor && ! customerId && ! CHECKOUT_ALLOWS_GUEST ) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{ __(
|
{ __(
|
||||||
|
|
Loading…
Reference in New Issue