Closed kristibarbosky closed 7 years ago
There's a way to display this only on front-end. Working on it, and making it non-configurable, for now. Please review and let me know if this should be a configurable opion.
However, the float in inline CSS on <a>
element won't work, because it will interfere with WooCommerce CSS, and I'm guessing CSS for most themes.
How about something like this:
Title ("Klarna Payments") is configurable, everything else there (currently) is not.
Please assign the issue back to me when you respond. I use issue filters to only view the ones assigned to me, that's why I'm assigning them to you temporarily.
What's also possible, and much more common for WooCommerce payment gateways is to only show the logo, and have it linked, withouth the extra text ("What is Klarna?" in this case).
Seems to look OK with the text, but it should be checked with every single theme.
This new window that is opened when the customer clicks the "What is Klarna" link needs to be a modal window, not take over the current window.
What is it that's making it open in modal? Is there another library we need to load?
Would it be OK to keep the image where it is in my screenshot, but move "What is Klarna" link down, above or below the iframe?
Open "What is Klarna?" in a new tab (for now)
Also:
Opening the link in a new tab is fine for go live/next week, but when reasonable, he would prefer a child modal popup window instead (so that on mobile it doesn't take the customer away from the checkout page).
We would still also like to get the "What is Klarna" link (floated right) to work. It seems to work fine for the "What is PayPal" link; can we use similar HTML?
onclick="javascript:window.open('https://www.klarna.com/us/pay-over-time','WIKlarna','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;"
@kristibarbosky can we close this one and move the discussion to #19?
Unless we get further pushback, we'll plan to leave the payment selector as shown in #19
Currently if I enter the HTML into the Title (in Woo admin settings) to make Klarna show as desired by marketing, the HTML is also displayed (but not interpreted) in the Order details page, see attached. The part starting with the image open tag should be moved into the plugin code to avoid this issue.
Note: there are discussions regarding legally if/how merchants should be able to control how Klarna is displayed. For more information, see Melissa Thobe. Klarna will be branded differently across markets though.
Pay Over Time What is Klarna?