Home › Forums › WoodMart support forum › PayPal Single Product Buttons do not work in Woodmart theme
PayPal Single Product Buttons do not work in Woodmart theme
- This topic has 14 replies, 2 voices, and was last updated 3 months, 4 weeks ago by Artem Temos.
January 29, 2023 at 6:03 pm #438725
Hi, the PayPal single product buttons from the official WC PayPal Payments extension (https://woocommerce.com/de-de/products/woocommerce-paypal-payments/) do not show on the single product page.
It works with Storefront theme but not Woodmart. Both custom and default layout do not work. Can you help? Thanks.
If this is a known issue do let me know how to fix, or I can provide access to staging site for further investigation.
Attachments:You must be logged in to view attached files.January 29, 2023 at 7:00 pm #438737
Could you please send us a link to your website where we can see this issue?
Kind RegardsJanuary 29, 2023 at 7:57 pm #438759
I have added info and acces below
The paypal button for single product is enabled but only shows up when you switch to storefront theme.January 30, 2023 at 11:07 am #438874
It looks like the plugin adds its custom button on the single product page using the standard WooCommerce hook. When you create a custom layout with Elementor it doesn’t contain any default elements and hooks. It contains only those elements that you added with Elementor manually.
We have a special “Hook” element in Elementor that you can place to your custom layout and then the plugin will be able to add its custom content there. But we don’t know which one exactly it needs. You can either try to select all hooks one by one or contact plugin developers for help.
XTemos StudioJanuary 30, 2023 at 11:11 am #438876
Hi, I have also tried disabling my custom layout and I found out it doesn’t work with the default woodmart layout either. Can you check this please.
I can reach out to woocommerce anyways. So you recommend to contact the PayPal plugin developer (woocommerce) regarding what hook to pick?
ThanksJanuary 30, 2023 at 11:12 am #438881
Please, disable the layout temporarily so we can see how it works.January 30, 2023 at 12:41 pm #438924
see belowJanuary 30, 2023 at 4:07 pm #438995
Please, disable all external plugins and send us your FTP access so we can check what is wrong.February 1, 2023 at 5:45 pm #439641
Hi, I have disabled all plugins except Woodmart, Elementor, Woocommerce, WPML.
More info belowFebruary 1, 2023 at 6:34 pm #439650
It doesn’t work because of products in the header dropdowns and in the Products navigation. When we disable those two options the button appears correctly.
It seems like the plugin takes the price of the first product that appeared in the document and that is why it doesn’t work as expected.
Kind RegardsFebruary 1, 2023 at 7:39 pm #439669
I still don’t see the paypal buttons on the staging site and I looked at some product pages in private mode- can you check please?
EDIT: my bad I was looking at variable products , where the button only appears after choosing an option.
OK, so this means the megamenu content was conflicting with the button, is that correct?
February 2, 2023 at 10:28 am #439797
- This reply was modified 4 months ago by hamster2116.
The problem is not about the megamenu content but about the extra products displayed on the single product page. In your case, they are displayed in the megamenu dropdowns and in the product next/previous navigation.
Kind RegardsFebruary 2, 2023 at 8:45 pm #440008
Ok I will get that sorted out. Thanks a lot for looking into this.
Regarding custom single product layout (elementor), you said it will not show up and you don’t know what hook it is, correct?February 2, 2023 at 11:18 pm #440032
Just a quick note I managed to have the Paypal button show up with the hook woocommerce_single_product_summary in custom layout,
BUT it has some unexpected behaviour with the new linked variations feature on the product page, see attached image. Linked variations duplicate. Can you help?
More info below
Attachments:You must be logged in to view attached files.February 3, 2023 at 11:07 am #440152
Yes, it looks like a bug in our theme. We will fix it in our next theme update that will be released soon.
- You must be logged in to create new topics. Login / Register