Changelog

Changelog

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