Skip to content

Conversation

@serzhik
Copy link

@serzhik serzhik commented Aug 16, 2025

Optimize performance for method \Bread\BreadCheckout\Block\Checkout\Minicart::isActive

  • Return result as fast as possible;
  • Moved out payment creation from the constructor;
  • Load Checkout Session via Proxy in:
    • \Bread\BreadCheckout\Block\Checkout\Minicart;
    • \Bread\BreadCheckout\Helper\Quote;
  • Updated PhpDoc in \Bread\BreadCheckout\Model\Payment\Method\BreadPaymentMethodFactory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant