mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix mini-cart free trial check
This commit is contained in:
parent
368d50ce7b
commit
9370eba320
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ class SmartButton implements SmartButtonInterface {
|
|||
add_action(
|
||||
$this->mini_cart_button_renderer_hook(),
|
||||
function () {
|
||||
if ( $this->is_cart_price_total_zero() && ! $this->is_free_trial_cart() ) {
|
||||
if ( $this->is_cart_price_total_zero() || $this->is_free_trial_cart() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue