We show you how to create custom WooCommerce My Account tabs and how to setup our plugin.
You can find the everything inside your Admin Panel below WooCommerce -> My Account. If you can not see the settings panel, make sure you have installed the Redux Framework Plugin.
In the general settings you can enable / disable our plugin. Moreover you are able to set a tab amount to increase performance & load time, you can reorder or disable tabs and you are able to rename the general WooCommerce tabs. For example you could disable the logout tab and rename the orders tab to “My orders”.
My Account Tab Styles
In the styles section you are able to choose a layout (left / right sidebar or full width tabs). Furthermore you can set tab background & text styles, also for hover and active tabs.
Create a custom My Account Tab
To create your first custom my account tab simply go into one of the settings. There you have the possibility to set the title, menu title and the endpoint URL. Then you need to specify a callback what the tab will show in the frontend. You can choose from different callbacks:
- Editor (Custom WYSIWIG Text where you can use shortcodes or even customer meta data)
- Link (simply links the tab to another page)
- Contact 7 Form
- Function (custom function that will be called. Create this in your functions.php of your child theme)
- Products by category
- Product Categories
- Show Cart
- Order Tracking
- My Account
- Recent Products
- Featured Products
- Sale Products
- Best Selling Products
- Top Rated Products
- Related Products
Each of the callbacks have own settings, e.g. the editor will show a WYSIWIG editor then. At the bottom you can also limit a tab to a specific user role. After you created a tab, reload the admin panel and make sure you add the tab in the reorder section in general settings!
Below you can see an example output of the editor settings we used below. It shows first name “d” and then also the shortcode of current year.