-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor Themes: Product page does not display Klarna options #7526
Comments
Support References This comment is automatically generated. Please do not edit it.
|
It'd be good to see if this can be reproduced with other block themes. |
@danielwrobert please have someone from Kirigami or Origami do some preliminary investigation on this as well. If this is a block template compatibility issue there will be other things that will be affected besides Klarna. |
I'm able to replicate the issue. You have to:
With Storefront, the placeholder is visible. On TT4, it isn't visible.
Checking If I updated to: add_action( 'wp', array( $this, 'init_class' ) ); The Klarna placeholder is injected correctly on a block theme as well: Furthermore, I noticed that the plugin proposes different positions in the settings, but with block themes, the setting will not work. The plugin logic is based on priority, but this approach doesn't work with the compatibility layer. (source code) |
Quick summary
Summary: When the Tsubaki theme is active on a site, Klarna options are not displayed on the product page.
This does not occur with non-Site-Editor themes that don't use blocks for the product page template.
User report in: 7400853-zen
I'm guessing this is related to the cart and checkout page issue for Tsubaki.
Steps to reproduce
This can be consistently reproduced.
I tested with the Health Check & Troubleshooting plugin to deactivate everything else.
In Troubleshooting Mode, with ONLY Woo, Klarna, and Tsubaki active, the Klarna options do not show.
What you expected to happen
The Klarna financing option should be shown on the product page.
For comparison, how it shows up when using Storefront. Specifically: Troubleshooting mode, with only Woo, Storefront, and Klarna active:
And for good measure: Troubleshooting mode with only Woo, 3pd theme Aotwo, and Klarna active:
What actually happened
It doesn't appear. Screenshot:
Browser
Google Chrome/Chromium, Mozilla Firefox
Context
Customer report 7400853-zen
Platform (Simple, Atomic, or both?)
Atomic
Other notes
I haven't been able to set up test Klarna credentials of my own to try to reproduce this on a test site, but I'm pretty confident it's the same as the issue mentioned earlier.
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
Yes, easy to implement
Workaround details
The only workaround that I can see would be to switch to a non-Site-Editor theme - or at least any theme which uses a classic PHP template for the product page.
The text was updated successfully, but these errors were encountered: