Skip to content

Template overrides

The front-end menu templates can be overridden the standard WooCommerce way. Copy a template from the plugin into your theme and edit the copy; your version then loads instead of the plugin’s.

They live in woo-custom-my-account-page/public/templates/:

Template Renders
wcmp-myaccount-menu.php The menu wrapper and the header (avatar and display name).
wcmp-myaccount-menu-item.php A single endpoint or link menu item.
wcmp-myaccount-menu-group.php A group (collapsible) menu item and its children.
wcmp-myaccount-avatar-form.php The member avatar upload and reset form.

Copy the file into the woocommerce/ directory of your theme, keeping the filename:

yourtheme/woocommerce/wcmp-myaccount-menu.php
yourtheme/woocommerce/wcmp-myaccount-menu-item.php
yourtheme/woocommerce/wcmp-myaccount-menu-group.php
yourtheme/woocommerce/wcmp-myaccount-avatar-form.php

The templates are loaded through WooCommerce’s wc_get_template(), so the theme override path is the same one you use for WooCommerce’s own templates.

If you only need to add markup around the menu, or change a class, a filter or action is lighter than a full template override. See Filters and actions, in particular the menu render actions (wcmp_before_endpoints_menu, wcmp_after_endpoints_menu and the item and group render actions) and the class filters.