mini-cart ignores PP_Express 'hide_checkout_button'
-
A workaround can be as simple as:
$pp_settings = get_option('woocommerce_paypal_express_settings'); if ($pp_settings['hide_checkout_button'] === 'yes'): // - Do not show checkout button
See
function woocommerce_paypal_express_checkout_button()
for more details.
- The topic ‘mini-cart ignores PP_Express 'hide_checkout_button'’ is closed to new replies.