Changelog

Changelog

1.13.1
  • Feature - Added deprecation notice on the admin pages.
  • Fix - Resolved fatal error on plugin activation.
  • Fix - Resolved PHP 8.2 Creation of dynamic property deprecation warning.
1.13.0
  • Feature - Added the 'kosm_locale' filter, allowing you to set the locale, irrespective of the currency.
  • Fix - Fixed a fatal error due to missing client ID.
  • Fix - Fixed a fatal error that happened when a global product variable was passed as a string or integer.
  • Fix - Fixed an undefined index warning that happened when both Klarna Payments and Klarna Checkout were not active.
  • Fix - Fixed an issue where the placement would sometimes not appear until a product variant is selected.
1.12.0
  • Feature - The plugin is now compatible with WooCommerce's "High-Performance Order Storage" ("HPOS") feature.
  • Feature - You can now specify the placement location using action hooks and priorities through the plugin settings.
  • Fix - Resolved an issue causing an undefined index notice.
  • Fix - The placement will now remain visible even when a non-valid price is entered.
  • Fix - Fixed an issue where the placement was not appearing on certain variable products until a variant was selected.
  • Fix - Addressed a deprecation warning.
1.11.0
  • Feature - Added support for Romanian.
  • Tweak - Added a check for if WooCommerce is enabled before initializing the plugin.
1.10.0
  • Feature - Added support for Flycart's Discount Rules.
  • Tweak - Removed redundant enqueue.
1.9.0
  • Feature - Add support for Greece.
1.8.0
  • Feature - Added support for the third-party plugin "WooCommerce Measurement Price Calculator".
  • Enhancement - You can now use the 'kosm_region_library' filter to force a specific regional library. See [documentation](https://docs.krokedil.com/klarna-for-woocommerce/additional-klarna-plugins/klarna-on-site-messaging/#customize-region-dependent-js-libraries).
  • Tweak - The osmDebug option will now also tell which library is being used. Used for debugging purposes.
1.7.1
  • Fix - Update kernl.
1.7.0
  • Feature - Added filter 'kosm_data_client_id' for filtering data client ID.
  • Enhancement - Fixed an issue where the placement would not appear on the page when added through the Elementor Builder's widget.
  • Fix - Fixed critical error happening when the widget or shortcode is used in the header.
1.6.3
  • Fix - Fixed the locale for Polish to be passed correctly.
  • Fix - Fixed an issue caused by the customer object in WooCommerce missing.</
1.6.2
  • Fix - We now enqueue the scripts directly in the shortcode, this solves an issue where the needed scripts did not get loaded when using the shortcode in the footer or header using widget areas with Gutenberg Blocks.
1.6.1
  • Fix - Fixed an issue with defaulting the locale for the Placement to en-US. Now the placement wont show if the locale is not set.
1.6.0
  • Feature - Add support for Ireland.
  • Feature - Add support for Portugal.
  • Feature - Add support for Poland.
  • Fix - Fixed an issue that could happen if the placement data key was not added.
1.5.1
  • Enhancement - Add support to handle product bundles with pricing set to keep the price of the bundled products.
  • Fix - Add a check to make sure we only run calculations on numeric values. WooCommerce could sometimes return prices as empty strings, which has now been considered and solved.
1.5.0
  • Feature - Added support to automatically populate the data-purchase-amount when using a shortcode on a product or cart page as long as no purchase amount has been specified.
  • Fix - We now update the placement purchase amount properly when updating the cart on the cart page.
  • Fix - Fixed an issue of not including taxes in the variable product price.
  • Fix - Fixed a error caused by the global post variable not being present on a page.
1.4.4
  • Enhancement - Add support for France, Canada and New Zealand.
1.4.3
  • Tweak - Remove code that overwrote Klarnas cookie.
1.4.2
  • Fix - Fixed Norwegian, Finish and Dutch locales.
1.4.1
  • Enhancement - Added support for multicurrency plugins.
  • Fix - Removed JavaScript defaulted version number. This caused an issue when loading the JavaScript from Klarna when they made an updated their system.
1.4.0
  • Feature - Added a widget to add Klarna on-site messaging to a widget field.
  • Enhancement - Added support for changing the total value data tag on a page with multiple placements.
1.3.1
  • Fix - Small JS fix that could cause issues with single product page display and variable products.
1.3.0
  • Feature - Added [onsite_messaging] shortcode to be able to display OSM placements on other places than plugin default.
  • Tweak - Removed inline javascript.
  • Tweak - Coding standards fix.
  • Fix - Error notice fix.
1.2.2
  • Fix - Updated JavaScript library URL to not include the plugin version number.
  • Fix - Updated the US library endpoint to NA.
1.2.1
  • Fix - Changed locale name for Norwegian.
1.2.0
  • Feature - Added support for Australia.
  • Fix - Changed url to enqueue Klarna JS file for production.
1.1.0
  • Feature - Added support for new way to integrate On-Site Messaging.
  • Tweak - Use constant to enqueue correct script versions.
  • Tweak - Added admin notice to inform current users that they need to update the way OSM is integrated.
1.0.5
  • Enhancement - Only show iframe is customer matches the store base country.
1.0.4
  • Enhancement - Added support for custom themes.
1.0.3
  • Feature - Added support for themes.
  • Enhancement - Use the cheapest variation instead of 0 for the placement on a variable product.
  • Fix - Fixed an issue where placement filters did not run correctly.
  • Fix - Fixed not using the price shown for the placement in some cases depending on tax settings.
1.0.2
  • Fix - Fixed bug where Placement ID was not set correctly.
1.0.1
  • Enhancement - Added Kernl Versioning.
1.0.0
  • Initial release