Changelog and version history.
New features: - Content shortcode now supports checking whether a customer has bought a certain product. This way you can make specific content available to only users who purchased X product. Enhancements: - Added export feature to Customers admin panel - Made integration between tiered price tables and raise price rules, so that tiered tables take into account raised percentages. Fixes: - Fixed issue with setting radio fields as required during registration - Fixed issue with ‘save list’ button showing even if purchase lists feature is disabled - Fixed page visibility save bug - Fixed issue with showing payment instructions twice on checkout thank you page. - Fixed categories sorting issue on bulk order formVersion 4.9.50 - February 12th, 2024
Fixes: - Fixed step qty add to cart bug in ajax - Fixed bug that had to do with the application of priority in min / max / step dynamic rules Hotfix: - Company credit gateway errorVersion 4.9.47 - February 10th, 2024
New features: - New setting that uses the actual products of the offer rather than the combined 'offer' product. Can be enabled in B2BKing -> Settings -> Other -> Offers -> "Offers use actual products". Enhancements: - Added Cart Blocks support for B2BKing quote and purchase list buttons. - Added Checkout Blocks support for Invoice Payment Gateway - Added Checkout Blocks support for Purchase Order Gateway - Added Checkout Blocks support for Company Order Approval Gateway - Added Checkout Blocks support for Company Credit Gateway - Partial integration with Woo Smart Bundles plugin and Yith Bundles - Added offer download icon loader Fixes: - Fixed issue with adding out of stock items to quote - Switched to using https for VIES requests - Fixed bugs in retrieving reports and dashboard data.Version 4.9.10 - January 10th, 2024
Fixes: - Fixed bug where stock quantity was not reduced correctly for B2B buyersVersion 4.9.00 - January 7th, 2024
Enhancements: - Added PHP validation for required registration fields - Improvements to VAT validation and removing existing VAT - Cream bulk order form can now work for logged out users while “hide prices” is enabled. Fixes: - Fix for sale price during manual backend orders - Fixed roles sync issue when using Members plugin - Minor fixes and improvementsVersion 4.8.65 - December 6th, 2023
Enhancements: - Payment method discounts and surcharges now apply to the Order Pay page as well. - Licensing updateVersion 4.8.60 - December 5th, 2023
Enhancements: - Compatibility fix for subaccounts creation when Dokan is also used - Improved VIES VAT activation handling Fixes: - Fixed role change bug when using change group bulk actions - Minor bug fixes and improvementsVersion 4.8.50 - December 1st, 2023
Enhancements: - VIES Validation update: when VAT requests fail because of the server (timeout, unavailable, etc) the plugin will accept the registration but notify the website admin. - Added support for undefined attributes (e.g. “any size…”) to the cream order form. - Added solution to encode custom fonts via URL for PDF generation in languages such as Arabic, Japanese, Chinese, Thai, Korean, etc. - Added compatibility for WPExperts Currency Switcher Fixes: - Integration with Forminator to fix page loading conflict - Fixed bug causing billing fields to show twice on pdf invoices - Fixed errors related to Kadence email customizer previews of B2BKing emails - Fixed bug with Woodmart theme showing “sale!” on non sale products - Fixed bug causing separate B2B stock status to be shown incorrectlyVersion 4.8.20 - November 11th, 2023
- Licensing improvements - Minor bug fixesVersion 4.8.19 - November 9th, 2023
Hotfix: - Elementor-related error in previous update. - Add to cart issue fix - Activation fixesVersion 4.8.10 - November 9th, 2023
Enhancements:
- Added additional email compatibility with Kadence email designer, so that email types
now show B2BKing emails.
- Added warning messages for tiered price configuration errors for easier configuration.
- Added additional tiered pricing calculation mechanism: “each additional unit” pricing.
- Visibility integration with Avada search
- Compatibility update up to PHP 8.2.1
Fixes:
- Fixed issue preventing registration at checkout
- Fixed bug affecting dynamic rules (rules applied to incorrect users or groups).
Changes:
- When showing both prices, retail prices are now shown by default including tax.
To get the previous behaviour (retail ex. tax), you can add this code snippet to the site:
add_filter('b2bking_both_prices_retail_adjust_tax','__return_true');
Version 4.7.70 - October 13th, 2023
Enhancements: - Discounts that apply to multiple categories will now no longer apply multiple times for the same product. Fixes: - Fixed issue related to REST authentication and visibility. - Fixed bug causing random characters in offers PDF - Minor bug fixesVersion 4.7.50 - September 30th, 2023
Enhancements: - Added support for product tags in dynamic rules (beta) - Subaccounts can now cancel their orders that are pending approval - Added links to classic order form products and purchase list products: they can now be clicked to go to the product page - Added quick editing for registration fields' roles - Added [b2bking_quote_form] shortcode Fixes: - Fixed issue with notices showing twice - Fixed bug where inexistent coupons could be added. - Fixed bug where tiered pricing 'sum up variations' was not working correctly with B2B sale prices. - Fixed page visibility bug not redirecting to login page - Fixed visibility bugs related to single user category visibility - Fixed select coloring issue in backed admin - Fixed pagination bug for offers / conversationsVersion 4.7.10 - August 25th, 2023
New features: - It is now possible to set visibility for each page - Added feature / button to log in as a subaccount Can be disabled via add_filter('b2bking_allow_subaccount_login','__return_false'); - Added ability to add icons to ‘Login to view prices’ as well as other texts: - It is s now possible to send guest users offers by email, and they will be able to see the offer after they create an account. Enhancements: - Subscriptions free trials now compatible with B2BKing pricing. Fixes: - Disable coupons for B2B users setting no longer hides coupons on admin side. - Fixed bug where monthly / yearly group rules did not apply correctly.Version 4.6.90 - July 26th, 2023
Fixes: - Fixed bug when rules would apply even if disabled or in the Trash folder - Fixed bug in saving custom information table - Fixed issue with sweetalerts libraryVersion 4.6.81 - July 21th, 2023
Hotfix: Fixed error when saving offersVersion 4.6.80 - July 20th, 2023
Enhancements: - Added HPOS support - Minor bug fixes and improvements Fixes: - Fixed pagination display issue in backend rules / fields, etcVersion 4.6.60 - July 9th, 2023
Enhancements: - Payment method rules now work on pay for order page as well. Fixes: - Fixed ajax bug affecting Elementor editing and more. - Fixed error with downloading purchase lists when a list item had been deleted - Fixed price range double tax adjustment error - Fix for offer details showing duplicated in cart - Fixed dashboard issue where orders were occasionally assigned to incorrect days.Version 4.6.30 - June 13th, 2023 (B2BKing Core Plugin)
- Fixed admmin customers table AJAX bugVersion 4.6.25 - May 30th, 2023
Enhancements: - When creating manual backend orders, the plugin now pulls the correct user group price, sale price or tiered price (based on qty selected). It also supports dynamic rules for fixed price and discount as sale price. May not fully support tax. Fixes: - Updated translation template - Fixed cream order form number update issueVersion 4.6.20 - May 27th, 2023
New feature: - Added backend “Reports” page with reports by B2B group, by customer, and more. Backend UI Improvements: - Implemented SweetAlerts for notifications, alerts, confirmations - Added Drag & Drop sort order for registration fields and roles - Post Types (registration roles, fields, dynamic rules etc) can now be enabled / disabled via AJAX toggle toolbar - Added visual preview for registration fields - Added registration form, bulk order shortcodes buttons for easy access - Design improvements to tables, notifications, dashboard and various other elements - Added “Refresh Data” button to trigger dashboard data update - Other UI improvements and fixes Fixes: - Vulnerability fix - Authenticated Product Price Change: A logged in user may have been able to modify product prices using AJAX calls. Thank you to NinTechNet / Jerome Bruandet ( https://secure.nintechnet.com/ ) for reporting the issue and recommending solutions. - Fixed issue where Bulk Variation Actions no longer worked following a WooCommerce update. - Fixed pagination issue where clicking next/previous lost filters in the order form.Version 4.6.00 - May 9th, 2023
Enhancements: - Added ‘go to offers’ link in offer emails - Added link to products in offer images - Post number added to conversation title for easier management - Added 'Products loading...' message to order form Fixes: - Fixed issue with tax settings not being applied in bulk order form tiered pricing application - Division by zero error fix - Fixed registration login bug - Minor bugs and fixesVersion 4.5.85 - April 19th, 2023
Hotfix: - Bug fix for min quantity add to cart issue.Version 4.5.80 - April 15th, 2023
Enhancements: - It’s now possible to add multiple order forms (Cream / Indigo) on the same page. - Added setting to disable the plugin’s coupon value feature in B2BKing → Settings → Other → Components. May help fix conflicts with coupon plugins. - Minimum order errors now show in checkout as well for added clarity - Bulk order form now compatible with “raise price” dynamic rules. - New “product_list” bulk order theme parameter Fixes: - Issue where order form pagination was applied before sorting is resolved. - Fixed issue where subaccounts send order for approval email was sent twice. - Fixed min order ajax add to cart quantity bugVersion 4.5.40 - March 1st, 2023
Enhancements: - Added new “Automatic” sort order option for Cream Form. This uses the “default sorting” and you can change the sort order via Products → All Products → Sorting in the backend. - Cream order form: Main variable product is now highlighted with a gray background color when selected. Fixes: - Fixed bug with dynamic rule discounts that caused critical checkout error.Version 4.5.30 - February 24th, 2023
New Features: - Tiered pricing can now sum up the total quantity of variations for variable products. More info at: https://b2bkingplugin.com/docs/b2bking-tiered-pricing-setup-auto-generated-tiered-pricing-table/#5-toc-title Enhancements: - Added ‘rule priority’ system to some of the dynamic rules. You can now set a priority to determine which rule should apply first. - Added pagination to cream and indigo order forms. - Cream / Indigo order forms now check quantity before allowing it to be added to cart. - Variations are now sorted in the order form according to their chosen order in the backend - Added support for the Post Expirator plugin: https://b2bkingplugin.com/docs/set-an-expiration-date-time-limit-for-discounts-offers/ Fixes: - Solved issue where clicking quickly on add to cart order form buttons resulted in some products occasionally being missed and not added to cart. - Update for Min / Max / Step quantities needed for WooCommerce 7.4.0 - Fixed bug where variations would show separated in the bulk order form (Cream / indigo) - Fixed performance bug related to monthly and yearly rules calculationVersion 4.5.01 - February 9th, 2023
New features: - Quantity Rules on Product Page - Added Yearly and Monthly group rules (move users between groups based on the previous month / year total spent) Enhancements: - Cream order form design enhancement: Added clickable cart icon to top right corner. It is also possible to change the cart icon to a “checkout” button via B2BKing → Settings → Bulk Order Form. A “Cream form top button” setting is visible if the selected theme is “cream”. - “Rename Purchase Order Method” has now been changed to “Rename Payment Method” and can be used for any payment method. - Offers are now no longer purchasable if one of the products in an offer is out of stock. Behaviour can be disabled via add_filter('b2bking_offers_items_use_stock','__return_false'); - When using category product visibility, price fields for hidden groups are now hidden as well in the product backend. - Added company column on Orders and Users page, as well as in Conversations - Subaccounts now inherit parent user roles (except administrator and shop_manager roles) - Company order approval feature now supports entering a ‘Rejection reason’. When entered, an email is sent to the subaccount informing them of why the order was rejected. Fixes: - Fixed offers tax calculation issue when tax was not enabled in shop settings. - Fixed bug where notices showed twice on the cart page - Fix for price display of grouped products when using discount dynamic rules - Fixed ‘company order approval’ bug where paid orders were still showing the ‘pay now’ button.Version 4.4.55 - January 14th, 2023
New features: - New dynamic rule: "Quotes on Specific Products". It is now possible to enable quotes on specific products / categories only. - Added feature to allow existing B2C users to submit the B2B account registration form in order to upgrade their accounts. Disabled by default, can be enabled in B2BKing -> Settings -> Registration. Enhancements: - Subaccounts can now also pay for orders themselves after orders have been approved. Fixes: - Fixed bug where all dynamic rules were not showing under a group's 'dynamic rules that apply to this group' panel. - Fixed translation issue where 'account approved' email was not being sent in customer's language - Fixed for potential 'headers already sent' error.Version 4.4.33 - December 26th, 2022
- Fixes: Customers panel AJAX bug fixVersion 4.4.30 - December 26th, 2022
Enhancements:
- Custom fields (e.g. VAT) can now show in attached invoice PDFs
Fixes:
- Fixed issue with incorrect price rounding when applying tiered pricing in the order form
- Performance improvements, may be significant for sites with large amounts of data
- Added ability to show total price for tiered table (Beta) - enable with code snippet: add_filter('b2bking_show_total_price_tiered_table','__return_true');
- Added 'b2bking_user_type' cookie with values b2b, b2c, logged_out. Can be used for example to exclude caching for logged in b2b users.
Version 4.4.10 - December 4th, 2022
Enhancements: - Product notification now displayed when users cannot add products to cart because of an existing cart offer. Fixes: - Fix for potential issue where a non-approved user could login through exploits. - Fixed bug where dynamic rules would not apply correctly - Fixed license activation issuesVersion 4.4.00 - November 30th, 2022
Enhancements: - Added built-in auto-updates and license verification system - Added min and step quantity rules support to Classic Order form - When there is a group sale price and group tiered price, the lowest of them will now be given to customers Fixes: - Fix for BOGO rules applying for first quantity - Fixed VAT validation issue for checkout validation - Fixed cart free shipping rules bugVersion 4.3.64 - November 12th, 2022
New features: - Offers can now be purchased only once per user (optional). Controlled through setting at B2BKing -> Settings -> Other-> "Offers can only be purchased once" - New setting: Hide prices in quote-only mode. With this, prices can now be shown even if quote-only mode is used. Enhancements: - Order form products now open in new tab Fixes: - Fixed issue where price was not hidden in quote mode in cart. - Error fix related to REST API - Fixed issue with B2BKing 'always in stock for b2b' feature. - Fixed WPML translation issueVersion 4.3.4 - Octomber 25th, 2022
New features: - Coupon functionality can now be completely disabled for B2B users. More info at https://b2bkingplugin.com/docs/restrict-coupons-for-b2b-b2c-users/ Enhancements: - Added WPML compatibility to the 'Separate B2B Stock' feature. - Items hidden with 'catalog visibility' feature are now excluded from order form results - Bypasses captcha for subaccount creation for 'Advanced Google Recaptcha' plugin. - New custom field option field for registration: radio buttons Fixes: - Fixed issue with variable prices being displayed without accounting for VAT on the cream order form, - Fixed internal tax exemption cache issue.Version 4.3.28 - Octomber 7th, 2022
New features: - New 'tiered price rules' allow you to create tiered price tables for multiple products at once https://b2bkingplugin.com/docs/tiered-price-rules/ - Added setting to allow entering tiered prices as percentages instead of final prices. Fixes: - Price display bug fixVersion 4.3.17 - October 2nd, 2022
Enhancements: Major Improvements to Cream Order Form: - Improved display on mobile - Added + - qty buttons - Added ability to show SKU and Stock levels via shortcode parameters - Improved display of variable products: variations are now hidden and expandable, for a cleaner form - Improved theme compatibility - Added clear button - Added cart quantity icons - Handles long product names better - Added 'allvariations=yes' parameter to the b2bking_tiered_pricing_table shortcode, to automatically show all variation tables for variable products. Fixes: - Bug fix for dynamic rules connected to pricing and price displayVersion 4.3.05 - September 29th, 2022
New features: - New shortcode for login form only: [b2bking_login_only] Enhancements: - Order form shortcode now supports excluding categories. More info at: https://b2bkingplugin.com/docs/wholesale-bulk-order-form/#2-toc-title - Order form shortcode can now be modified on the my account page via filters (see above link) - Improvements to order form UI when items are sold individually or out of stock - Added extra options to allow setting tiered prices in bulk for variations. Fixes: - Fixed issue where sale price was showing incorrectly on the cart page. - Fixed issue where regular and sale price would be identical, but both were shown. - Fixed issue with creating new purchase lists - Fixed issue related to decimals input while editing prices - Fixes settings panel issueVersion 4.2.85 - September 21st, 2022
New Features: - Tiered price table can now be clicked to set the range / choose quantity. New setting controls this in B2BKing -> Settings -> Tiered Pricing & Table Enhancements: - Added option to control inc. / ex. VAT suffix in B2BKing -> Settings -> Language - Improvements to settings page UIVersion 4.2.80 - September 16th, 2022
Enhancements:
- Multiple file uploads can now be enabled through a snippet:
add_filter('b2bking_allow_file_upload_multiple', '__return_true');
Fixes:
- Fixed issue with offer download PDF button
- Fixed bug with free shipping rules application
- Minor bug fixes
Version 4.2.70 - September 5th, 2022
Major Performance Improvements:
- Improvements to dynamic rule selection algorithm
- Improved search algorithm for the order form
- Added caching to algorithm that calculates product categories
Enhancements:
- Improvements to how the Cream and Indigo order form handle stock quantity
- Improvement to integration between B2BKing Dynamic Rules and WPML
(for easier product selection when creating rules)
- Improvements to quote button in cart
- You can now set the 'sort order' to -1 for a registration role,
which will force the customer to choose an option from the dropdown (user type dropdown)
- Dynamic rules now support REQUIRED MULTIPLE STEP QUANTITY for individual variations
(plugin's own JS script).
- Added image setting for offers with 2+ products.
For offers with a single product, that product's image will now show.
! Changes: Dynamic rules required multiple for variable products no longer force qty in product pages
(for that, you must select individual variations).
To use old behaviour, add: "add_filter('b2bking_required_multiple_variation_use_parent','__return_true');"
Fixes:
- Fixed min / max qty issue in Indigo Order Form
- Fixed issue where tiered table would not show when variations were loaded with AJAX.
- Fixed issue where purchase lists would not apply tiered pricing after loading
- Fixed critical error - function typo
- Deprecated PHP function error fixed
Version 4.2.41 - August 16th, 2022
Enhancements: - Enhanced the Cream Order Form: Search by category + sort by features added + design improvements - Rule selection algorithm improvement for many dynamic rules: May result in performance improvements.Version 4.2.3 - August 11th, 2022
Enhancements: - Added option to enter individual user IDs as text in rule details - Added setting (In Settings -> Other -> Components) to disable frontend registration scripts. - Added 'Select all products', 'Select all categories', and 'Clear all' buttons to dynamic rule configuration for easier management.Version 4.2.21 - July 18th, 2022
New Features: - Company Order Approval feature for subaccounts. Accounts can now enable and require order approval for their subaccounts' orders. Enhancements: -> Added min qty and max qty options to Payment Method Min / Max Order rules -> Backend offer creation now sets the default price automatically for products -> When users are deleted, any dynamic rules assigned to them specifically will also be deleted now. Fixes: -> Fixed incompatibility between some shortcodes and elementor -> Fixed issue where backorders products were not available in the order form -> Fixed issue with importing products with meta data -> Fixed issue with required multiple rules on categories / all products, applying to individual items -> Fixed product visibility in bulk order search bugVersion 4.1.97 - June 14th, 2022
New features: - added 'Taxable' option to 'Add Tax' dynamic rules. - added exclude parameter to order form - added [b2bking_tiered_pricing_table] shortcode Enhancements: - better enforcing on min / max values in order form - Added 'price tiers' import to woocommerce price importer Fixes: - styles fixes for order form on Windows - fixed min order inconsistency in bulk order form - fixed several issues with VAT validation - performance fix for dynamic rules and fixed price rules in particular - fixed error with woocommerce price importer b2bking price fields - fixed issue with subaccount product visibilityVersion 4.1.8 - May 21st, 2022
New features: - Added [b2bking_product_information_table] shortcode Fixes: - Backend performance fixesVersion 4.1.7 - May 16th, 2022
New features: - Added new option: 'Always in stock for B2B' Fixes: - Performance / loading fix - Minor bug fixes and improvementsVersion 4.1.6 - May 1st, 2022
New Features: - New Wholesale Order Form Themes & Styles: Indigo & Cream - New dynamic rule: Non-purchasable products - New dynamic rule: Raise price (percentage) - Added AJAX loading to backend pages for faster and easier management - Added 'Change group' bulk action in Users panel Enhancements: - Added basic limited WPML multicurrency integration - UI, Design and Loading improvements - Stability improvements to 'Show both prices' feature Fixes: - Fixed stock status bug for separate b2b/b2c stockVersion 4.1.0 - April 16th, 2022
New Features: - Added separate stock for B2B and B2C - Added ability to hide stock for B2C or hide precise stock quantities Enhancements: - Added cache clearing toolVersion 4.0.9 - April 10th, 2022
Enhancements: - Added a product visibility check to regular wordpress posts search - Updated required multiple modulo function for better float checks - Subaccounts name now uses wordpress first / last name - Added limited compatibility with 'All Products for WooCommerce Subscriptions' Fixes: - Fixed minor issue with pdf generation for offers - Fixed product visibility issue for subaccounts - Fixed integration issue with Dokan and WCFMVersion 4.0.6 - March 7th, 2022
Enhancements: - Various improvements and fixes - Added "time" field type to custom fields - Improved separate my account page behaviour - Improved extra options / addons compatibility features - Integrated order form search with Relevanssi - courtesy of Jon from https://divint.no Fixes: - Fixed issue with tax exemption cache for logged out users. - Fixed plugin activation issue. - Fixed visibility bug where all items would appear visibleVersion 4.0.4 - February 17th, 2022
New Features: - Added new "id" parameter for [b2bking_offers] shortcode. Now you can add individual offers to specific pages by specifying the id. Usage: [b2bking_offers id=1234]. For example you could use this method to advertise an offer or bundle in a product description. - Added "Product Options / Addons" compatibility setting in B2BKing -> Settings -> Other -> Compatibility. This is an early feature that aims to add basic compatibility with pricing with most addons plugins. We are not aiming for / it would be impossible to achieve perfect compatibility under all scenarios with these kind of plugins. But hopefully this setting can be a step in the right direction to enhance this. We advise you to test with your specific plugin. We have tested this with: -> WooCommerce TM Extra Product Options -> Acowebs WooCommerce Custom Product Addons Enhancements: - Offer downloads as PDF now compatible with lazy loading Fixes: - Fixed issue with tax exemption cache for logged out users. - Fixed plugin activation issue. - Fixed visibility bug where all items would appear visibleVersion 4.0.2 - February 2nd, 2022
Enhancements: - Implemented "all products except" selector for add tax rules - Payment method discount rules now support negative values (surcharge) - Shipping / payment methods now enabled by default Fixes: - Fixed Required Multiple Rule Selection bug - Fixed BOGO error with variable products - Fixed issue where Sales Agent Approval emails were not sent - Fixed Max Order rule input value bug - Fixed bug with multiple add tax rules - Fixed integration bug with SalesKing - admin customers panelVersion 4.0.0 - January 3rd, 2022
Enhancements: - Product Visibility Cache now compatible with WPML. Now each language has its own cache. This will help speed up sites with WPML that also use B2BKing visibility. - Added Russian translation, courtesy of Almaz. - View account order subaccounts permission now also shows addresses. Fixes: - Fixed WPML Checkbox translation issue - Fixed issue where product page tables would also show in "related items" or other smaller type displays where they're not supposed to show -> Other minor enhancements and fixes