Created
September 27, 2021 11:39
-
-
Save Sirvijver/7fd5cfccaaa99b1ce90fa6f479e77eaf to your computer and use it in GitHub Desktop.
hook the cart page buttons after the cart to prevent it from disappearing upon changing shipping options (might require additional CSS for placement)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter('woocommerce_paypal_payments_proceed_to_checkout_button_renderer_hook', function() { | |
| return 'woocommerce_after_cart'; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment