Description
Subaccounts for WooCommerce allows the creation of subaccounts for your WooCommerce customers and subscribers.
The ability to create multiple subaccounts tied to a main parent account is extremely useful in all of the following usage scenarios:
- companies that need to add and manage accounts for their employees
- stores that need to place orders from different branches
- businesses with multiple decision-makers for purchases
- when parent accounts need to supervise and monitor all the activities made by their own sub-accounts (purchases, expenses, quotes, etc.) and even place orders on behalf of them;
- in the case of company accounts that need to place orders from different purchasing departments or through multiple purchasing managers (B2B and similar);
- in those situations where a sales agent or sales representative needs to create new accounts for newly acquired customers and, if desired, place orders on their behalf.
Two modes are available:
- Sub-User mode: multiple separate accounts grouped together under one parent account (e.g. Holding Company).
- Multi-User mode: multiple users can place orders on behalf of the master account (useful in case of Corporate Accounts).
🏆 Main features
Subaccounts for WooCommerce (free version) provides support for the following features:
My Account area
- Allow customers to create/add new subaccounts (up to 10 subaccounts for each parent account in the free version).
- Ability for parent accounts to edit subaccount details (Account Details, Billing Address, Shipping Address) directly from their own My Account area.
- Ability for parent accounts to view subaccount orders directly from their My Account area.
- Ability for parent accounts to switch to any subaccounts using our advanced and secure user switching system.
- Ability for parent accounts to monitor purchases made by their subaccounts and even place orders on their behalf.
- For each purchase display information about who did actually placed the order (whether it was placed by a subaccount or by a parent account on behalf of a subaccount).
Admin area
- Enable the subaccount system only for specific user roles (including custom ones).
- Assign specific roles to subaccounts created on the frontend.
- Allow subaccounts to inherit the same roles as the parent account.
- Allow subaccounts to keep their roles synchronized with the parent account’s roles.
- Limit the number of subaccounts a parent account can create/add.
- In WooCommerce order page, for each order, display information about customer’s account type (whether a parent account or a subaccount).
- In case of purchase made by a subaccount, for each order display information about the subaccount’s parent account, so that you know which user belongs to whom.
- Customize the appearance of the User Switcher Pane to match the color scheme of your theme.
🚀 Premium features
Subaccounts Pro (premium version) is an extended version of the plugin and includes the following additional features:
- Each parent account (Manager) can create an unlimited number of subaccounts.
- Create, assign and fully manage subaccounts directly from the WordPress backend (as an administrator).
- Force subaccounts to inherit billing and shipping addresses from their parent account.
- On admin side, in both WooCommerce orders list and WooCommerce order pages, display information about who did actually placed an order (whether it was placed by a subaccount or by a parent account on behalf of a subaccount).
- Display parent accounts and subaccounts information in WooCommerce orders list page.
- Display parent accounts and subaccounts information in WordPress users list page.
- On the WordPress users list page, filter customers and subscribers based on account type (e.g. show only parent accounts or subaccounts).
- On the WordPress users list page, filter subaccounts based on the parent account.
- Include order-related parent account and sub-account information in WooCommerce new order emails (for either the admin or customers, or both).
Upgrade to Subaccounts Pro and get a full suite of tools to create and manage subaccounts in WooCommerce!
Upgrading to Subaccounts Pro is easy: just install the free version of the plugin and navigate to: Admin Dashboard WooCommerce Subaccounts Add-Ons. From there you will be able to easily and securely upgrade to the premium version of the plugin in just a few clicks.
🔌 Add-Ons available
Order Approval Add-On: With the Order Approval Add-On parent accounts can edit and approve or reject subaccount orders.
Supervisor Add-On: With the Supervisor Add-On it is possible to set a parent account (Supervisor) above a Manager account type, thus allowing you (as an administrator) to create a three-level structure of nested accounts (e.g. Supervisor Manager Subaccount).
🌐 Languages and translations
Subaccounts for WooCommerce is translation ready and is currently available in the following languages:
- English
- French
- Italian
More translations soon available.
Screenshots

Plugin Settings Page – Options Tab 
Plugin Settings Page – Appearance Tab 
Admin Order List Page (premium feature) 
Admin Order Page 
My Account – User Switcher 
My Account – Subaccount Orders 
My Account – Add Subaccount 
My Account – Orders 
Add/Manage Subaccount from Admin Side (premium feature) 
Admin Users List Page (premium feature)
Installation
Automatic installation
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install of Subaccounts for WooCommerce, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.
In the search field type “Subaccounts for WooCommerce” and click Search Plugins. You can install it by simply clicking Install Now. After clicking that link you will be asked if you’re sure you want to install the plugin. Click yes and WordPress will automatically complete the installation. After installation has finished, click the ‘activate plugin’ link.
Manual installation via the WordPress interface
- Download the plugin zip file to your computer
- Go to the WordPress admin panel menu Plugins Add New
- Choose upload
- Upload the plugin zip file, the plugin will now be installed
- After installation has finished, click the ‘activate plugin’ link
Manual installation via FTP
- Download the plugin file to your computer and unzip it
- Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
- Activate the plugin from the Plugins menu within the WordPress admin.
FAQ
-
What is a subaccount?
-
A subaccount (or sub-account) is a secondary account that sits under a main parent account.
-
What is a Manager?
-
A Manager is a parent account.
-
How many subaccounts can be created for each customer/subscriber?
-
Subaccounts for WooCommerce (free version) gives you the possibility to create up to 10 subaccounts for each Manager (parent account).
With Subaccounts Pro (premium version) each Manager can have an unlimited number of subaccounts.
-
Can a parent account (Manager) place an order?
-
Both parent accounts and subaccounts can place orders. Parent accounts can also place orders on behalf of subaccounts, while a subaccount can place orders only for itself.
-
Is it possible to create multiple nested subaccounts (e.g. a subaccount of another subaccount)?
-
Subaccounts for WooCommerce (free version), allows the creation of two account levels only: a main parent account (so called Manager) and one or more subaccounts tied to the parent account.
With the Supervisor Add-On it is possible to set a parent account (Supervisor) above a Manager account type, thus allowing you (as an administrator) to create a three-level structure of nested accounts.
-
Is it possible for an Administrator to create and set a subaccount for a customer from the WordPress backend (admin dashboard)?
-
This option, along with many others, is only available in Subaccounts Pro, the premium version of the plugin.
-
Is it possible to switch from Sub-User to Multi-User mode and vice versa after some orders have already been placed?
-
We have done our best to ensure the highest level of compatibility between the two modes. Despite this, switching from one mode to the other after some orders have already been placed may result in some data being inaccurate.
For this reason we strongly recommend that you choose the mode that best suits your needs and stick with it.
-
Is the plugin compatible with the WooCommerce High-Performance Order Storage (HPOS) feature?
-
Compatibility with the WooCommerce High-Performance Order Storage (HPOS) feature has been introduced in version 1.2.0 of the plugin.
-
Is the plugin compatible with WooCommerce Checkout and Cart blocks?
-
Compatibility with WooCommerce Checkout and Cart blocks has been introduced in version 1.9.0 of the plugin.
-
Are there any shortcodes available?
-
From version 1.0.8, the following shortcodes are available:
[sfwc_user_switcher] [sfwc_manage_subaccounts] [sfwc_add_subaccount] [sfwc_subaccount_orders] (Available only if Sub-User mode is active) -
Does the plugin work on multisite installations?
-
It should work, but please note that activating the plugin on the entire network is not supported at this time. However you may want to try activating the plugin individually on all the sites you need to use it on.
Reviews
Contributors & Developers
“Subaccounts for WooCommerce” is open source software. The following people have contributed to this plugin.
Contributors“Subaccounts for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Subaccounts for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.9.1
Release Date November 25, 2025
- Improvement – Update Freemius SDK to version 2.13.0.
- Fix – When using the wp_add_inline_script() function, use
varinstead ofconstfor variable names, to avoid JS errors in the My Account area in some cases.
1.9.0
Release Date October 30, 2025
- New – Introduced support for WooCommerce Checkout and Cart blocks.
- Fix – When using wp_add_inline_script(), enqueue the JavaScript code in the footer to avoid issues related to dependencies.
- Dev – Declared compatibility with WooCommerce Checkout and Cart blocks.
- Dev – Removed backend notification about incompatibility with WooCommerce Checkout and Cart blocks.
- Dev – Removed backend notification about shortcode name changes.
1.8.2
Release Date October 2, 2025
- Fix – Properly return checkout fields for standalone customers.
1.8.1
Release Date October 1, 2025
- Fix – Fix Managers not being able to view subaccount orders when Sub-User mode is enabled and the subaccount orders list page is rendered via the
[sfwc_subaccount_orders]shortcode.
1.8.0
Release Date September 30, 2025
- New – The User Switcher form is now available as a shortcode
[sfwc_user_switcher]. - Improvement – Code improvements in the “Filter Orders” frontend form.
- Improvement – Improved compatibility with John Blackbourn’s “User Switching” plugin.
- Improvement – Improved compatibility with Themekraft’s “BuddyPress Integration for WooCommerce” plugin (premium version).
- Improvement – Update Freemius SDK to version 2.12.2.
- Fix – Fix
First Name,Last NameandEmailcheckout fields not populating correctly if Multi-User mode is enabled and a subaccount is logged-in. - Fix – General code improvements and fixes in all plugin shortcodes.
- Fix – Fix
setcookie(): Passing null to parameter #2 of type string is deprecatedthrown by PHP 8.1 and later versions. - Fix – Fix
Call to a member function get_meta() on arrayin thesfwc_multi_user_change_reply_to_email_header_for_admin_notifications. - Fix – In the
sfwc_my_account_orders_order_placed_by()function, make sure thatget_userdata()does not returnfalsebefore retrieving the user data. - Tweak – In the frontend
Add Subaccountform, hide the “Company” field if Multi-User mode is enabled. - Tweak – Changed the names of the plugin shortcodes.
- Tweak – Removed the full stop punctuation mark at the end of field labels in plugin settings pages.
- Tweak – Minor CSS changes.
- Dev – CSS and JS assets grouped by packages.
- Dev – Reduced the use of scripts embedded in HTML/PHP code in favor of using the wp_add_inline_script() function.
- Dev – Renamed
sfwc_enqueue_frontend_stylefunction tosfwc_enqueue_frontend_js_css. - Dev – Renamed
sfwc_enqueue_backend_stylefunction tosfwc_enqueue_backend_js_css. - Dev – Removed functions
sfwc_enqueue_color_pickerandsfwc_admin_inline_js_color_picker.
1.7.0
Release Date August 15, 2025
- New – Provide admin with the ability to change the frontend
subaccountendpoint. - New – Provide admin with the ability to assign specific role(s) to subaccounts created on frontend.
- New – Provide admin with the ability to allow subaccounts to inherit the same roles as the parent account.
- New – Provide the ability to keep subaccount roles synchronized with the parent account roles.
- New –
Manage Subaccountspage content now available as a shortcode. - New –
Subaccount Orderspage content now available as a shortcode. - Improvement – Code optimizations for the
Add Subaccountshortcode. - Improvement – Provide parent accounts with the ability to clear/reset order selection in the
Filter Ordersform on frontend. - Improvement – If Multi-User mode is enabled, change the reply-to in the email headers for
new_order,cancelled_order,failed_orderWooCommerce email notifications. - Improvement – Update Freemius SDK to version 2.12.1.
- Fix – In the user query of the
sfwc_query_users_for_possible_selection_as_subaccounts()function, replace theroleparameter withrole__in. - Fix – When sanitizing order numbers, preserve alphanumeric strings.
- Fix – Fix attempt to read property “roles” on false in the helper function
sfwc_is_user_role_valid(). - Fix – Fix
call to a member function get_user_id() on falseon the WooCommerce email preview screen when WooCommerceEmail Improvementsoption is enabled. - Tweak – By default show all orders on the
Subaccount Orderspage in the frontend. - Tweak – Moved the
Subaccountsmenu item before theSettingsitem in the admin area. - Tweak – Shorten the column title
Order Placed BytoPlaced Byon the orders list page on frontend.
1.6.7
Release Date April 30, 2025
- Improvement – Fix Broken Authentication vulnerability.
1.6.6
Release Date April 15, 2025
- Fix – Fix
sfwc_add_valid_roleshook not working properly. - Fix – Fix plugin not working properly when website permalink structure is set to
Plain. - Fix – Fix JavaScript issues that occur on front end when the
[woocommerce_my_account]shortcode is placed within atextblock instead of ashortcodeblock. - Fix – Fix undefined
filter_account_typeon Edit Subaccount page in frontend. - Tweak – Display
Account,Contact UsandAdd-onssubmenu items as plugin tabs in the backend. - Tweak – Provide both a HTML
classand a unique HTMLidfor each navigation tab present in theSubaccountpage on frontend. - Tweak – Provide HTML classes for each table column on the frontend
Manage Subaccountstable. - Tweak – Changed the HTML markup of the fields in the “Account Details” section of the
Edit Subaccountfrontend form. - Tweak – Changed the HTML markup of the fields in the
Add Subaccountfrontend form. - Tweak – Minor CSS changes.
- Tweak – Minor text strings changes.
- Dev – Improvements to the helper functions:
sfwc_is_current_user_role_valid(),sfwc_is_user_role_valid()andsfwc_get_valid_roles(). - Dev – Added new hook:
sfwc_edit_subaccount_form_tag, to allow developers to add extra attributes to the frontendEdit Subaccountform tag. - Dev – Added new hook:
sfwc_add_subaccount_form_tag, to allow developers to add extra attributes to the frontendAdd Subaccountform tag. - Dev – Added new hook:
sfwc_frontend_add_subaccount_form_after_fields, to allow developers to add additional fields on frontend subaccount creation form.
1.6.5
Release Date January 27, 2025
- Improvement – Updated Freemius SDK to version 2.11.0.
1.6.4
Release Date January 15, 2025
- Fix – If the
Choose who can create and add new subaccountsoption is set toAdmin Only, do not show the “Add subaccount” button in the notice that appears on the “Manage subaccounts” page when there are no subaccounts yet. - Fix – Correctly hide/show the “Manage Subaccounts” page loading icon on frontend.
- Fix – Fixed plugin activation issues on multisite installations.
1.6.3
Release Date January 10, 2025
- Improvement – Added “All” filter, to show managers along with their subaccounts on the
Manage Subaccountspage on frontend (Subaccounts Pro and Supervisor Add-On required). - Improvement – If Multi-User mode is enabled, make
First Name,Last NameandEmailfields readonly on the checkout page. - Improvement – If the
Customer Display Nameoption is set toCompany + Emailand the company name of the parent account is the same as the company name of the subaccount, for the subaccount showFull Nameinstead ofCompany Name. - Improvement – Updated Freemius SDK to version 2.10.1.
- Fix – Fixed order confirmation email not being sent to guest users when multi-user mode is enabled.
- Fix – If Multi-User mode is enabled, do not show the
Filter Ordersform on frontend for customers whose roles are not enabled in the plugin settings. - Fix – If Multi-User mode is enabled, do not show the
Order Placed Bycolumn on theOrderspage on frontend for customers whose roles are not enabled in the plugin settings. - Fix – Allow validation of additional roles added via the
sfwc_add_valid_rolesfilter when adding new subaccounts on frontend. - Fix – Fixed
jQuery not definedif loading of JavaScript is deferred. - Tweak – Removed
for himselfstring. - Tweak – Provided a HTML
idto the box containing order information on the single order page on frontend. - Tweak – Minor CSS changes.
1.6.2
Release Date November 21, 2024
- Fix – Call to undefined function
sfwc_query_users_for_possible_selection_as_subaccounts()resulting in the User Switcher not loading subaccounts. - Fix – Check if nonce exists before trying to verify it when the User Switcher form is submitted.
1.6.1
Release Date November 20, 2024
- Improvement – Code improvements and security hardening.
1.6.0
Release Date November 15, 2024
- Improvement – Load subaccounts present in both the User Switcher dropdown menu and the Subaccount Orders dropdown menu using Ajax search and infinite scroll to reduce memory usage for user queries.
- Improvement – Updated Selectize CSS/JS to version 0.15.2.
- Improvement – Updated Freemius SDK to version 2.9.0.
- Fix – When obtaining subaccounts from the parent, a check has been added to ensure that the “Account Type” of the subaccounts is correct (to avoid inconsistencies if the subaccount’s Account Type is later changed).
- Dev – Added new filter:
sfwc_add_valid_roles, to allow developers to declare additional user roles as valid (SFWC_VALID_ROLE_LOOSE_MODEconstant has to be defined and set totruein wp-config.php file). - Dev – Added helper function:
sfwc_get_valid_rolesto determine which roles are valid.
1.5.6
Release Date July 30, 2024
- Improvement – Updated Freemius SDK to version 2.7.3.
- Fix – Fixed order metadata not being saved when creating new orders on block-enabled themes using the block-based Checkout page.
- Tweak – Added back-end notice about incompatibility with WooCommerce Blocks.
- Dev – Declared incompatibility with WooCommerce Blocks.
1.5.5
Release Date May 30, 2024
- Improvement – Updated Freemius SDK to version 2.7.2.
- Dev – Added new hook:
sfwc_frontend_edit_subaccount_after_account_details_fields, to allow developers to add extra fields in theAccount Detailstab on the frontendEdit Subaccountpage. - Dev – Added new hook:
sfwc_frontend_after_edit_subaccount_validation, to allow developers to save extra data when editing a subaccount on frontend.
1.5.4
Release Date April 2, 2024
- Improvement – Flush permalinks to avoid
Error 404on front-endsubaccountsendpoint. - Improvement – Compatibility with Pantheon hosting provider.
- Fix – Fixed front-end
Manage Subaccountstab not loading content in some cases. - Tweak – Added tooltip text for the option
Select the buyer role(s) to enable the subaccount system for. - Tweak – Minor changes in
readme.txtfile. - Dev – Provide possibility to add prefix to cookie names.
- Dev – Removed no longer necessary
SFWC_REQUIRES_PERMALINK_UPDATEPHP constant and related code.
1.5.3
Release Date March 25, 2024
- Tweak – Conditionally hide part of front-end notice about successful subaccount creation if user switcher is disabled.
- Dev – Removed code previously used for back-end notice about
Order Approval Add-Onrelease. - Dev – Added
blueprint.jsonto enableLive Previewbutton. - Dev – Added new
Requires Pluginsheader.
1.5.2
Release Date February 15, 2024
- Fix – Make sure JavaScript functions are called after page load.
1.5.1
Release Date February 5, 2024
- Improvement – Minor CSS improvements.
- Improvement – Updated Freemius SDK to version 2.6.2.
- Tweak – Added the
Edit orderbutton among those that can be shown in caseOrder Approval Add-Onis active. - Tweak – Added back-end notice about
Order Approval Add-Onrelease. - Dev – Added new hook:
sfwc_frontend_edit_subaccount_accordion, to allow developers to add additional accordion tabs on theEdit subaccountpage on front end. - Dev – Changed priority of function:
sfwc_order_placed_by_update_order_meta_after_payment, to prevent a race condition in caseOrder Approval Add-Onis active.
1.5.0
Release Date December 20, 2023
- New –
Multi-Userfeature officially released (no longer in beta stage). - New – Possibility to enable/disable the user switcher.
- Improvement – If Multi-User mode is enabled, when an order is placed by a subaccount or by a Manager on behalf of a subaccount, send the WC email notification to the subaccount.
- Improvement – Keep users selected in the
Filter Ordersfront-end form while navigating through order list pages when Multi-User mode is enabled. - Improvement – Display
On behalf ofvalue in theOrder placed bycolumn on front-end order list page when an order is placed by a Supervisor on behalf of a Manager or Subaccount with Multi-User mode enabled. - Improvement – Better handling of those situations where an order was placed without storing the
_sfwc_order_placed_by_user_idorder meta value (prior to version 1.4.3). - Improvement – Better handling of those situations where the admin switches from Multi-User to Sub-User mode after some orders have already been placed.
- Improvement – Improved user role assignment logic when creating new subaccounts in front end.
- Improvement – Word “password” is now translatable on
Edit Subaccountpage in front end. - Improvement – Updated Freemius SDK to version 2.6.1.
- Fix – Fixed missing redirect to the first page of the order list after submitting the
Filter Orders / Select Subaccount Ordersform in frontend. - Tweak – Removed “beta” warning from Multi-User option in backend.
- Tweak – Changed tooltip text for the options
Show subaccounts information on WooCommerce order pageandShow subaccounts information on WooCommerce orders list page. - Dev – Store
_sfwc_order_placed_during_subaccount_modeorder meta value on order creation. - Dev – Added helper function:
sfwc_order_placed_during_subaccount_modeto determine if an order was placed while the plugin was in Sub-User or Multi-User mode (by passing $order_id). - Dev – Pass additional argument
$parent_user_idinsfwc_frontend_after_add_subaccount_validationhook. - Dev – Added new hook:
sfwc_frontend_add_subaccount_form_before_fields, to allow developers to add additional fields on frontend subaccount creation form.
1.4.3
Release Date October 25, 2023
- Improvement – User switcher now working also with persistent object cache enabled.
- Improvement – Always store
_sfwc_order_placed_by_user_idorder meta value, to provide better compatibility in case of switch from Sub-User to Multi-User mode and vice versa. - Fix – Fixed
Order placed bydisplaying incorrect information on front-end orders list page when the Manager places an order with Multi-User mode enabled. - Fix – Fixed
Order placed bydisplaying incorrect information on front-end order pages when the Manager places an order with Multi-User mode enabled. - Fix – Fixed an issue where customers were unable to view certain orders on frontend when Multi-User mode is enabled.
- Fix – Fixed some translatability issues.
1.4.2
Release Date September 5, 2023
- Improvement – General improvement in the orders query on front end when Multi-User mode is enabled (e.g. include orders placed by subaccounts before multi-user mode was enabled).
- Improvement – Make the
Subaccount Infometa box appear on back-end order pages when HPOS is enabled. - Improvement – Updated Freemius SDK to version 2.5.12.
- Fix – Changed the URL of the order number links in the
Ordercolumn onSubaccount Orderspage. - Tweak – Updated plugin icon on settings page.
- Tweak – Conditionally add
Protext next to the plugin title on the settings page in case the premium version of the plugin is active.
1.4.1
Release Date August 5, 2023
- Fix – Fixed undefined
selected_subaccount_orders_sanitizedon Orders page in frontend when Multi-User mode is enabled. - Fix – Fixed undefined
current_useron Edit Subaccount page in frontend. - Dev – Added new hook:
sfwc_frontend_after_add_subaccount_validation, to allow developers to save extra data on frontend subaccount creation.
1.4.0
Release Date July 6, 2023
- New – Ability for a parent account to edit its subaccounts directly from its My Account area, within the newly introduced
Manage Subaccountspage. - New – Multi-User mode [Beta feature].
- Improvement – Minor code improvements.
- Improvement – Updated Freemius SDK to version 2.5.10.
- Fix – Fixed some user queries that prevented users with custom roles from being visible.
- Fix – Prevented users with custom roles from appearing if their role is disabled in the plugin settings.
- Fix – Call the
save()method in functionsfwc_store_subaccounts_meta_data_on_order_creation.
1.3.0
Release Date May 25, 2023
- New – Possibility to limit the number of subaccounts that a parent account can create/add.
- New – Possibility to choose user roles (including custom ones) to enable the subaccount system for.
- New – Possibility to force subaccounts to inherit the billing/shipping address from their Manager (Subaccounts Pro required).
- Improvement – Ability for the Manager to filter subaccounts present in the user switcher dropdown menu.
- Improvement – Preserve Subaccount Orders search while selecting subaccount orders.
- Improvement – Updated Freemius SDK to version 2.5.8.
- Tweak – Moved
Optionstab beforeAppearancetab on plugin settings page. - Dev – Added helper function:
sfwc_is_current_user_role_validto determine if current user role is eligible for the subaccount system. - Dev – Added helper function:
sfwc_is_current_user_role_enabledto determine if current user role is enabled from plugin settings. - Dev – Added helper function:
sfwc_is_user_role_validto determine if user role is eligible for the subaccount system (by passing user ID). - Dev – Added helper function:
sfwc_is_user_role_enabledto determine if user role is enabled from plugin settings (by passing user ID).
1.2.1
Release Date April 25, 2023
- Improvement – Added
Accountcolumn in Subaccount Orders page in front end. - Improvement – Display
Account,Account typeandOrder placed byinformation also in front-end order pages. - Improvement – Minor CSS modifications in back-end users list to improve readability in case Subaccounts Pro is active.
- Improvement – Updated Freemius SDK to version 2.5.6.
- Fix – Honor
Customer Display Namesetting in “Order placed by” column in front end. - Tweak – Minor text changes and corrections.
1.2.0
Release Date March 20, 2023
- New – Introduced support for the new WooCommerce High-Performance Order Storage (HPOS) feature.
- Improvement – Updated Freemius SDK to version 2.5.5.
- Dev – Replaced deprecated hook
woocommerce_my_account_my_orders_columnswithwoocommerce_account_orders_columns.
1.1.4
Release Date February 15, 2023
- Fix – Restored function
sfwc_register_subaccounts_endpointto prevent endpoint returningNot Found Error.
1.1.3
Release Date February 10, 2023
- New – Added
Accountsubmenu item to show license activation status (Subaccounts Promust be installed for the submenu item to appear). - Improvement – Updated Freemius SDK to version 2.5.3.
- Improvement – Make sure the
session expirednotice appears in front end also if the parent account has switched to a subaccount. - Improvement – Escaped some URLs before redirects are applied.
- Fix – Prevent
<ul>tag from appearing twice in DOM on Subaccount Orders page in frontend. - Fix – Prevent showing the Subaccounts Order form in case the logged in Manager has no subaccount.
- Fix – Fixed undefined
wp_button_classon Subaccount Orders page in frontend after form is submitted. - Tweak – Corrected typo in function name
sfwc_insert_subaccounts_endpoint_content. - Tweak – Modified some texts in the
Optionspage in back end. - Removed – Removed function
sfwc_add_subaccounts_query_vars. - Removed – Removed function
sfwc_register_subaccounts_endpoint.
1.1.2
Release Date December 5, 2022
- Improvement – Make the user switcher pane appear immediately after the first subaccount is created for new accounts.
- Improvement – Prevent displaying the user switcher pane when only no longer existing subaccounts are present (e.g. subaccount users deleted by admin).
- Fix – Fixed undefined
already_children_existingon Add Subaccount page in front end.
1.1.1
Release Date November 1, 2022
- Fix – Fixed undefined
sfwc_option_display_nameon Subaccount Orders page in front end.
1.1.0
Release Date October 5, 2022
- New – Possibility for a parent account to view subaccount orders directly from its My Account area.
- Improvement – Enqueue front-end scripts and styles only on My Account area.
- Improvement – Front-end subaccounts section splitted up in tabs.
- Improvement – Added a notice in back end in case a permalink settings update is required after plugin updates.
- Improvement – Updated Freemius SDK to version 2.4.5.
- Fix – Fixed WooCommerce custom endpoint returning
Not Found Errorin some cases. - Dev – Defined two new PHP constants:
SFWC_CURRENT_VERSIONandSFWC_REQUIRES_PERMALINK_UPDATE. - Dev – Store current plugin release information in
wp_optionstable.
1.0.0
Release Date June 25, 2022
- Initial release.
