Klarna headline price in checkout not including discounts

Klarna headline price in checkout not including discounts

simon_evolution
Tourist
9 0 4

When I add a discounted item to my basket and go to checkout we have a KLARNA header above the basket info. It displays the full product price and does not take into account any discounts applied to the basket. We use the Discounted Upsell and Frequently Bought Together apps to generate discount codes in the basket. Has anyone run into this or a solution?

 

Cheers

Si.

Reply 1 (1)

KristiAtKlarna
Shopify Partner
205 14 39

@simon_evolution  

If you are using Klarna's On-site messaging (https://docs.klarna.com/on-site-messaging/) to display dynamic pricing for the header, check the Shopify data variable/code that is used to set the data-purchase-amount in the klarna-placement code to verify that the variable includes the discount.

 

If you are using Klarna's On-site messaging app for Shopify (https://apps.shopify.com/klarna-on-site-messaging), data-purchase-amount is set via the KlarnaThemeGlobals code, which you can find in your store's theme.liquid file (as documented at: https://docs.klarna.com/platform-solutions/shopify/on-site-messaging-app-for-shopify/faqs/#troublesh...

 

KlarnaThemeGlobals uses this Shopify liquid variable: 

{{product.first_available_variant.price}}

If that variable isn't getting updated with the expected discount, hopefully the appropriate app support can review to update that.