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 1 year, 9 months ago by Artem Temos.
-
AuthorPosts
-
January 29, 2023 at 6:03 pm #438725
hamster2116ParticipantHi, 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.
Attached: screenshotsIf 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
Artem TemosKeymasterHi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
January 29, 2023 at 7:57 pm #438759
hamster2116ParticipantHello Artem,
I have added info and acces belowThe 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
Artem TemosKeymasterHello,
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.
Kind Regards
XTemos StudioJanuary 30, 2023 at 11:11 am #438876
hamster2116ParticipantHi, 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?
Thanks
January 30, 2023 at 11:12 am #438881
Artem TemosKeymasterPlease, disable the layout temporarily so we can see how it works.
January 30, 2023 at 12:41 pm #438924
hamster2116Participantsee below
January 30, 2023 at 4:07 pm #438995
Artem TemosKeymasterPlease, 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
hamster2116ParticipantHi, I have disabled all plugins except Woodmart, Elementor, Woocommerce, WPML.
More info below
February 1, 2023 at 6:34 pm #439650
Artem TemosKeymasterHello,
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 Regards
February 1, 2023 at 7:39 pm #439669
hamster2116ParticipantI 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?
- This reply was modified 1 year, 9 months ago by hamster2116.
February 2, 2023 at 10:28 am #439797
Artem TemosKeymasterHello,
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 Regards
February 2, 2023 at 8:45 pm #440008
hamster2116ParticipantOk 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
hamster2116ParticipantJust 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 belowAttachments:
You must be logged in to view attached files.February 3, 2023 at 11:07 am #440152
Artem TemosKeymasterHello,
Yes, it looks like a bug in our theme. We will fix it in our next theme update that will be released soon.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register