Klarna Docs - Configuration

Configuration

Activation

To enable the display of Klarna promotional messages in your storefront, follow the guide

Configuration

If you want to enable the display of Klarna promotional messages in your storefront, do the following:

1. Expand  the Klarna On-Site Messaging section.

2. Set Enable to Yes.

3. In the Data client ID field, enter the data-client-id hash value from the code that you copied while in the Klarna merchant portal.

4. Select the Design theme that you want to apply to Klarna promotional messages.

5. To enable Klarna promotional messaging for product pages, set Enable on product to Yes.

6. To determine the location and style of Klarna promotional messages on the product page, set Product placement to the type of script that you copied from the Klarna merchant portal.

7. The placement value corresponds to the data-key field in the script you chose. For example, the data-key="credit-promotion-badge" value in the code corresponds to the Credit Promotion - Badge option. If you have a customized promotion, choose Other. You will need to provide your own custom script.

8. To enable Klarna promotional messaging for the shopping cart page, set Enable on cart to Yes, and repeat the previous step.

9. When complete, click Save Config.

Update Design configuration

If Klarna On-site messaging is enabled, do the following to paste the scripts that you copied from the Klarna merchant portal:

1. From the Magento Admin, go to Marketing > Design > Configuration.

2. In the list, find the store configuration that is to be updated and click Edit.

3. Under Other Settings, expand  the HTML Head section.

4. In the Scripts and Style Sheets box, paste each script that you copied from the Klarna merchant portal.

5. Click Save Configuration.