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:
Albert Juhé Lluveras 2020-08-05 10:35:38 +02:00 committed by GitHub
parent 5a300b91c2
commit fcf8f5c51f
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ const Checkout = ( { attributes, scrollToTop } ) => {
window.location.href
) }`;
if ( ! customerId && ! CHECKOUT_ALLOWS_GUEST ) {
if ( ! isEditor && ! customerId && ! CHECKOUT_ALLOWS_GUEST ) {
return (
<>
{ __(