Magento 2: Klarna tagline doesn't appear on the product details page
-
13-04-2021 - |
Question
I'm trying to display the Klarna
tagline in the product details page with Klarna already being integrated successfully into the site. The code that Klarna offers to be placed in the product details page is
`<!-- Placement v2 -->
<klarna-placement
data-key="credit-promotion-badge"
data-locale="en-US"
data-purchase-amount=""
></klarna-placement>
<!-- end Placement -->`
This is placed in the phtml file rendering product details. Klarna also needs to load a JS script on all the pages. It is also added in default.xml as seen in the image. Script is ensured to be loading on the page, but the tagline doesn't. This is how it should appear below the product price.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange