<?php $_product = $block->getProduct(); ?>

<div class="title-product">

	<h3 class="product-name">

		<span class="base" data-ui-id="title-product" itemprop="name"><?= $_product->getName(); ?></span>

	</h3>

</div>

<div class="klarna-placement">
    <!-- Placement v2 -->
    <klarna-placement
        data-key="credit-promotion-badge"
        data-locale="en-GB"
        data-purchase-amount="<?php echo ceil($_product->getFinalPrice()*100); ?>"
    ></klarna-placement>
    <!-- end Placement -->
</div>

<script
  async
  src="https://eu-library.klarnaservices.com/lib.js"
  data-client-id="1a7f56bb-c150-58e7-849f-b4395c6ac721"
></script>
