diff --git a/modules/ppcp-button/src/Assets/SmartButton.php b/modules/ppcp-button/src/Assets/SmartButton.php index d887b9bf9..189aa5ec0 100644 --- a/modules/ppcp-button/src/Assets/SmartButton.php +++ b/modules/ppcp-button/src/Assets/SmartButton.php @@ -606,7 +606,7 @@ document.querySelector("#payment").before(document.querySelector("#ppcp-messages case 'product': return $smart_button_enabled_for_current_location || $smart_button_enabled_for_mini_cart; default: - return $smart_button_enabled_for_mini_cart; + return $smart_button_enabled_for_mini_cart || $this->is_block_editor(); } }