-
AuthorPosts
-
October 27, 2020 at 11:11 am #1255994
Hello,
I have the problem that the PayPal express button doesn’t show on the cart page. The button itself works and is showing on single product page and mini cart. My developer spent quite some time reviewing this and looking for alternatives. Unfortunately, he didn’t find a way around this problem. Here is what he tried:
I’ve removed the console error. It was due to having activated the Banner options without an ID (I’ve already shared this with you).
The standard options are not working in the plugin. When you have checked the Cart PayPal Button is not showing up, but the Mini cart option is not working when you also uncheck (it keep showing it). Either is a plugin conflict or a bug in their code.
I’ve tried to implement more creative alternatives using jQuery with no avail. I’ve tried to clone the button from the mini cart, add a fake one to trigger the other working button, etc. Nothing worked because of how it’s constructed.The button is working with a neutral theme:
https://www.dropbox.com/s/rvikxne08l20okn/theme-twenty-twenty.png?dl=0Thank you very much for any new ideas.
Kind regards,
Anja
October 31, 2020 at 10:22 pm #1257326Hey anjmat,
Sorry for the very late reply, I see that on your cart page the woo-paypalplus-checkout-button > paypalplus_ecs_cart_button is an empty div.
I also notice that the woocommerce checkout button is showing on the cart page load, and then it seems to be replaced by the empty PayPal button div. I also tried to clone the mini PayPal button to the cart page but this doesn’t seem like a good solution because I believe the button is created dynamically.
I also notice that when you go through the checkout the PayPal button does seem to work correctly, you just can’t skip the checkout from the cart page.
So as a workaround how about injecting a button to the checkout from the cart page below the “notice” where the PayPal button would be? This will put your customers into your checkout and seem natural to the purchase process.
For your plugin, I found this support thread that says: PayPal Plus is only available when having your registered office in Germany, International transactions do work with PayPal Plus, but only if the requirement above was met. So it seems that part of the issue could be my location? (I’m in the USA) I’m not so sure about that.Best regards,
MikeNovember 3, 2020 at 12:21 pm #1257963Hello mike,
thanks. I know PayPal Plus works (only, or just) in Germany.
Your suggestion: So as a workaround how about injecting a button to the checkout from the cart page below the “notice” where the PayPal button would be? This will put your customers into your checkout and seem natural to the purchase process.
Has been tried out by my developer and its not working.
Let me recap:
The button is working in general.
The button is working on product pages and in the mini cart.
The button is working on all three (product, mini cart and cart page) with the woocommerce theme storefront.
The button is working on all three (product, mini cart and cart page) with the general theme twenty twenty.
The button is NOT working on the cart page with EnfoldVersion: 4.7.6.1.
The button is NOT working on the cart page with Enfold child theme.So, where do we go from here? I really like a solution. I’m pretty sure other users of the theme may use this button just fine.
Kind regards,
Anja
November 5, 2020 at 3:13 pm #1258620Hi,
Sorry for the late reply, I just wanted to let you know I’m still looking into this.Best regards,
MikeNovember 12, 2020 at 4:41 pm #1260177Hello Mike,
I would very much like an update on the matter.
Thank you very much.
Kind regards,
Anja
November 16, 2020 at 2:39 pm #1260720Hi,
Sorry for the late reply, I was not able to determine the cause for this, but I was able to show the PayPal button on the cart page with this script, try adding this code to the end of your functions.php file in Appearance > Editor:function custom_script(){ ?> <script> (function($){ $(document).ready(function(){ $( '#top.woocommerce-cart' ).each(function() { var clonepp = $( this ).find( '.menu-item.cart_dropdown .woo-paypalplus-checkout-button' ); var targetpp = $( this ).find( '.wc-proceed-to-checkout .woo-paypalplus-checkout-button' ); $( clonepp ).appendTo( targetpp ); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'custom_script');
Unfortunately, not all plugins work with Enfold, and this seems to be such a case, another option might be to try a different PayPal plugin.
Best regards,
MikeNovember 16, 2020 at 3:34 pm #1260731Hello Mike,
thanks for that. I’ll give it a go.
Kind regards,
Anja
November 17, 2020 at 12:25 pm #1260960Hello Mike,
we don’t get it working. So, I guess I try with another plugin. Do you have any recommendations of plugins with Paypal Express functionality that work with enfold?
Thank you very much.
Kind regards,
Anja
November 17, 2020 at 2:28 pm #1261005Hi,
Sorry to hear that it is not working for you, I have not tested plugins for “Paypal Express functionality” solely, but I did find the woocommerce plugin PayPal Checkout which has Paypal Express functionality. This seems to be a free plugin that is available from the woocommerce site.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.