Skip to content

Commit

Permalink
Release v7.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercado Pago committed Jan 16, 2024
1 parent edeae9f commit 207d29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blocks/AbstractBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function updateCartToRegisterDiscountAndCommission($data)
public function registerDiscountAndCommissionFeesOnCart()
{
// Avoid to add fees before WooCommerce Blocks load
if ($this->mercadopago->hooks->checkout->isCheckout()) {
if ($this->mercadopago->hooks->checkout->isCheckout() || $this->mercadopago->hooks->cart->isCart()) {
return;
}

Expand Down

0 comments on commit 207d29f

Please sign in to comment.