Caution
These are general instructions that are applicable to the most commonly-used themes. Thorough testing should be completed post-installation to ensure the customization is working on your theme.
Overview
If you are using the Klarna Payments widget while using Product Options, the price displayed in the widget may not reflect the price of your options.
Steps to Fix
- From Shopify's admin, select Online Store, then Actions > Edit code.
- Under "Assets", select Add a new asset.
- Select Create a blank file.
- Enter bold-po-klarna as the asset name, and change the file extension to .js.
- Select Add asset.
- Open the asset and copy and paste the bold-po-klarna.js code into this file.
- Select Save.
- Under "Layout", select theme.liquid.
- Find the closing body tag.
- Copy and paste the following code above the </body> tag:
<script src="{{ 'bold-po-klarna.js' | asset_url }}">
- Select Save.