Changelog
What's new in every release.
New features, improvements, fixes and security updates, straight from each plugin’s changelog. Updates install from your WordPress dashboard.
-
B2B Pricing 1.1.0
- Improved Now requires WordPress 6.5 or later and WooCommerce 8.5 or later.
- Fixed Pricing rules are now resolved per product. When several rules match a customer, each product gets the first rule (by priority) that covers it; previously only the first matching rule was ever used.
- Fixed Category and variable-product rules now apply to variations (including subcategories); hidden prices can no longer be bypassed on variable products.
- Fixed Quantity-tier prices are always correct in the mini-cart and the block cart, also right after a quantity change.
- Fixed Variable product price ranges are cached per customer group, so guests never see wholesale ranges (and vice versa).
- Fixed Customer prices and hidden prices also apply in quick view, AJAX filters and page builders.
- Fixed Hidden prices are no longer reported as 0 in structured data and the Store API.
- Fixed "Everyone" rules now respect the Countries field.
- New "All products" option, tier modes (percentage off, amount off, fixed price per item) and a live price preview on the rule screen.
- New Checkout rules per role: minimum order amount and quantity, hidden payment and shipping methods.
- New Company name and VAT number fields on the registration form; "Approve and grant requested role" bulk action.
- New Block checkout "Claim tax exemption" checkbox built on the Store API.
- New Hidden price text setting, opt-in "Delete data on uninstall", wpml-config.xml.
- New Redesigned admin screens with a setup checklist, clearer rule editor and rule list.
- Improved No more full product queries per price; rules are memoized per request; geolocation only when a rule uses countries; storefront assets only where needed.
- Improved Page-cache context cookie (LiteSpeed Cache, WP Rocket), multi-currency conversion of fixed amounts (WPML/WCML, Aelia, CURCY), B2B Pricing Lite price filters disabled while active.
- Improved Accessible tier table (caption, headers, non-colour active tier, live total), labelled checkout checkbox, keyboard-operable admin controls.
- Improved Tested up to WordPress 7.1 and WooCommerce 11.2.
-
B2B Pricing 1.0.4
- Security Tax exemption can only be claimed by logged-in customers marked "Tax Exempt" when the claim option is enabled. Previously any visitor could make their order tax-free, including on the block checkout.
- Security Only users who can manage WooCommerce can create, edit or publish pricing rules (Authors and Editors no longer can).
- Security "Custom User Roles" can no longer modify or delete administrator, shop manager or other existing privileged roles.
- Security Bulk Approve / Disapprove now checks permission per user, so shop managers cannot lock administrators out.
- Fixed PHP 8 fatal error on products without a price (grouped, call-for-price) covered by a pricing rule.
- Fixed With "user approval" enabled, creating an account at checkout (or adding a user in wp-admin) no longer aborts the request.
- Fixed Renaming a custom role keeps its slug, so users assigned to it keep their role.
- Fixed Tax exemption is applied consistently on classic and block checkout, and no longer overrides exemptions set by VAT-number plugins.
- Improved New filter b2b_rule_capability; new helper b2b_get_tax_exempt_mode().
- Improved Tested up to WordPress 7.1 and WooCommerce 11.2.
- Improved Version 1.0.3 was skipped. The previous release's changelog listed 1.0.3 while its plugin header said 1.0.2.
-
B2B Pricing 1.0.3
- Fixed Tiered-pricing meta-box no longer triggers a PHP 8 "illegal string offset" warning when creating a new rule (empty default row is now an empty array, not an empty string).
- Fixed Saving the Custom Roles section no longer overwrites the General Settings (Tax Exempt option, Pricing Table Position) with empty values — the generic field save is now skipped when on the custom-roles section.
- Fixed b2b_pricing_table AJAX now verifies wc_get_product() returned a valid WC_Product before rendering the table, preventing a fatal when a stale/invalid variation ID is posted.
- Fixed User list columns (User Approval, Requested Role) now esc_html() the displayed meta to prevent stored XSS via crafted user-meta values.
- Fixed b2b-pricing CPT is now registered with public=false / publicly_queryable=false / has_archive=false / query_var=false, eliminating a dead public archive URL and a mismatched public/publicly_queryable configuration.
- Fixed Pending-account notice on the My Account login page now reads from b2b_user_status_pending_message (the option that is actually exposed in settings) instead of the undefined b2b_message_after_registration; typo "You account" corrected to "Your account"; redundant WP_Error wrapper removed.
- Fixed Default pending/disapproved messages in b2b_authenticate_user now read "Your account needs admin approval." and "Your account has been disapproved." (previously "You account need…" / "You account has been…").
-
B2B Pricing 1.0.2
- Fixed Undefined variable in disapproval email notification.
- Fixed Admin assets now scoped to B2B Pricing screens only.
- Fixed Frontend script now scoped to WooCommerce and account pages.
- Fixed Price floor added — discount types can no longer produce negative prices.
- Fixed Category product lookup skipped when no categories are configured.
- Fixed WC check changed to class_exists() for reliable detection.
- Fixed Singleton pattern applied to prevent double instantiation.
- Fixed Plugin version constant added.
- Fixed else if replaced with elseif throughout (WPCS).
- Fixed Discount and Price column labels in the pricing table now use distinct b2b_discount_label and b2b_pricing_label filters (were all bound to b2b_quantity_label).
- Fixed Pricing table discounted price now floored at 0 (was allowing negative prices in the display).
- Fixed b2b_user_country() no longer triggers an undefined array key warning when WC_Geolocation returns no country.
- Fixed b2b_add_tax_status_to_order_meta() now returns early when tax exemption is disabled, preventing a PHP warning from indexing false.
- Fixed User-status dropdown "Pending" option now passes false as the third argument to selected() so the attribute renders inline instead of being echoed early.
- Fixed Duplicate id="b2b_user_status" on the tax-exempt checkbox renamed to b2b_user_tax_exempt to fix invalid HTML and JS targeting collisions.
- Fixed b2b_set_tax_exempt AJAX now passes the actual claim value to set_is_vat_exempt() instead of always setting true (unchecking the box no longer left the customer VAT-exempt).
- Fixed product_id and variation_id in the pricing-table AJAX are now cast with absint() instead of treated as free-form text.
- Fixed b2b_authenticate_user is now registered with add_filter() and guards against $user being null (avoided a fatal on the first authenticate filter call).
- Fixed b2b_auth_new_customer no longer overwrites the filter's $status with the user_meta value, returning a proper boolean as the filter contract requires.
- Fixed Post-registration redirect now uses the My Account permalink instead of the bare post slug (which produced an invalid URL).
- Fixed Wholesale registration role request is now validated against the admin-allowed b2b_choose_roles whitelist (prevents privilege escalation by submitting an arbitrary role slug).
- Fixed b2b_grant_roles now bails early when no role was requested, null-checks the user object, and clears the b2b_user_role_requested meta after sending the email (stops the approval/disapproval email from re-firing on every later role change).
- Fixed b2b_bulk_action_handler now performs a current_user_can( 'edit_users' ) check and skips emailing when the user object/email is missing.
- Fixed b2b_get_customers AJAX now requires list_users capability, returns early on an empty term, and uses a bounded number argument.
- Fixed Removed broken role-migration loop in custom-roles settings save that referenced undefined $termObj and $new_slug (would fatal under PHP 8 with custom roles configured).
- Fixed Tiered-pricing save loop now verifies that b2b_quantity and b2b_discount POST values are arrays before counting/iterating (PHP 8 compatibility).
- Fixed Include/exclude products, categories, customers, and countries POST inputs are now type-checked, cast with absint where appropriate, and array-validated before save.
- Fixed Rule type and user restriction values are now validated against an allow-list on save.
- Fixed Include/Exclude Products and Customers meta-box selects now always emit a balanced <select>/</select> pair (previously the closing tag was conditional, breaking the form when no options were selected).
- Fixed Pricing-table tab AJAX in frontend-script.js now targets the correct woocommerce-Tabs-panel–pricing_table / pricing_table_tab selectors (the JS referenced the legacy discount_table class so variation switches never populated the tab).
- Fixed Missing whitespace between value and name attributes on the classic-checkout tax-exempt checkbox.
- Fixed "Tax Exempt:" label on the admin order screen is now translatable.
- Fixed Loose == comparison in bulk-action dispatch tightened to === .
-
B2B Pricing 1.0.1
- Fixed General bug fixes and stability improvements.
-
B2B Pricing 1.0.0
- Improved Initial release.
No change matches that. Try another word or filter.