Help Center

How to Create My Account Page With Endpoint Templates

How to Create My Account Page With Endpoint Templates

Learn how to use My Account Page widgets and build the My Account page with endpoint templates with the help of the JetWooBuilder and JetThemeCore plugins.

Before you start, check the tutorial requirements:

  • Elementor (Free version)

  • WooCommerce plugin (Free version) installed and activated

  • JetWooBuilder plugin installed and activated

Using the JetWooBuilder plugin, you can design custom templates for various WooCommerce pages, like the My Account page template. My Account page is the central customer dashboard in a WooCommerce store where customers can view past orders and edit addresses and payment details.

Besides that, it is advisable to construct individual templates for each My Account endpoint and display them on the page with a menu since it can improve the WordPress website performance. Before delving into this process, let’s discuss what an endpoint entails.

My Account page with the order endpoint

What Is a My Account Page Endpoint?

Simply put, the WooCommerce endpoint is an additional part of the content shown after certain conditions are met. That part of the content changes the page’s URL. In the My Account page context, tabs such as Edit, Orders, and Downloads serve as endpoints. When the user chooses to open them, an additional part will be added to the page URL. For example, it can look like this: “your_website/my_account/downloads.” 

Endpoint functionality allows your website to display diverse content that users need without creating excess pages, thus preserving page loading speed.

When you start using the WooCommerce plugin, these endpoints are created automatically, but you’re not obligated to stick with the default design. The JetWooBuilder plugin empowers you to build your pages and style them according to your preferences. 

How to Create My Account Page Endpoint Templates

Enable the My Account widgets

Navigate to the WordPress Dashboard > Crocoblock > JetPlugins Settings > JetWooBuilder > Widgets tab.

Remember that these settings impact the script optimization, and you can turn off the unnecessary widgets here.

jetwoobuilder widgets

For this tutorial, we ensured that all widget toggles are enabled in the My Account Page Widgets section.

my account page widgets

Create templates

You can create such templates:

Log in to your website’s dashboard, go to the Crocoblock > Woo Page Builder menu tab, and hit the “Add New Template” button. In This template for drop-down menu, choose the “My Account” option and name the template. For example, it could be a template for the “Orders” endpoint. Click the “Create Template” button.

creating a template for the WooCommerce endpoint

You will be redirected to the Elementor page builder. Find the Account Orders widget and drop it to the page. Customize its style according to your needs. You can also add any other widgets you consider useful for your users, the image or product sliders, recently visited pages, or text pieces. When you are done, press the “Publish” button at the bottom of the menu.

account orders widget in the endpoint template

Then, create other needed templates mentioned at the beginning of this step.

Apply the endpoint templates to the website

Return to the dashboard and go to the WooCommerce > Settings > JetWooBuilder tab. Scroll the window down and find the My Account Page section. Tick the Custom My Account Page and Custom My Account Page endpoints checkboxes.

Custom My Account Page and Custom My Account Page endpoints options

Choose the templates you’ve just created from the corresponding drop-down menus. For example, we pick “My Account Orders Endpoint Template” for the My Account Orders Endpoint Template option.

applying the WooCommerce endpoint templates to the website

The templates are created and applied to the endpoint. When you open the My Account page, the templates you created will be applied to the appropriate endpoints.

Things to know

Be aware that those endpoint templates work correctly only if you select the “Default” option in the My Account Template drop-down menu. If you want to use custom endpoint templates with the custom My Account page template, you will need the My Account Content widget. You can read about its usage below.

How to Create a Custom My Account Template with Custom Endpoints

The endpoint custom templates can be used with the default My Account page template. This means that the navigation will adopt the design defined by your website’s theme and the endpoints for which you chose to create the custom templates. To create a fully customized page with the same design for every part of it, you will have to build it from scratch.

Create a menu with the endpoint URLs

Go to your website’s dashboard and open the Appearance > Menus tab. If you have created any menus here, click the “Create a new menu” link.

create a new menu

Give the menu a name (e.g., “My account menu”) and hit the “Create Menu” button.

my account menu creation

Unfold the WooCommerce endpoints tab in the Add menu items section. Tick the checkboxes of the endpoints you want to add to the My Account page menu and hit the “Add to menu” button.

adding the WooCommerce endpoints to the My Account menu

By unfolding the menu item tabs, you can change the menu item labels in the Navigation Label bar.

Besides the labels, the tabs contain the URLs, which consist of the My Account page URL and endpoint. For instance, the “Orders” menu item URL is: “your_website/my_account/orders.”

You can also change the menu item order by dragging the menu tabs.

changing my account menu item label

To add the “Dashboard” menu item, unfold the Custom Links tab in the Add menu items section. Here, add the My Account page URL (e.g., your_website/my-account/) into the URL field. Also, insert the Link Text (e.g., “Dashboard”) and push the “Add to Menu” button.

adding the dashboard menu item

To add an icon to the menu item, move the cursor to the place to the right of a menu tab and hit the appeared “Settings” button.

menu item tab settings

In the menu settings pop-up, proceed to the Item Icon tab. Select the Item Type (“Icon” or “Svg”) and set the Item icon or Item SVG. Adjust other settings if desired and press the “Save” button.

setting the menu item icon

You can add icons to other menu items if required. When you are done customizing the My Account page menu, hit the “Save Menu” button.

save menu button

Create a custom My Account Page template

Go to the Crocoblock > Woo Page Builder tab and hit the “Add New Template” button. In This template for drop-down menu, choose the “My Account” option and type in a template name. Afterward, click the “Create Template” button.

creating my account template with endpoints

The layout of the page is completely up to you. For example, we added a Section with two Columns to the editor. A navigation widget can be placed into the first columns, like the Vertical Mega Menu widget of the JetMenu plugin.

vertical mega menu widget

The menu previously created for the My Account template can be chosen in the Select Menu drop-down list.

select the menu to display it in the widget

In the second Column, we drag-n-dropped the Account Content widget.

account content widget

This widget shows the corresponding endpoints when you click on the menu item. 

the account content widget shows the WooCommerce endpoints

Arrange the style settings and add extra widgets if you fancy, such as the Heading widget above the Vertical Mega Menu widget with the “My account” Title.

customizing the style settings of the My Account menu

When you are done, click the “Publish/Update” button.

Apply the template to the page

Go to the WooCommerce > Settings > JetWooBuilder tab and scroll down the page to the My Account Page section. Choose the template you created in the My Account Template drop-down menu here.

assign the My Account template in the WooCommerce settings

Now, you can open the My Account page on the front end and check the result.

My Account page with the WooCommerce endpoints on the front end

Click different menu items to see endpoints. For example, this is the order endpoint displayed with the Account Orders widget.

My Account page with the order endpoint

And here’s the edit addresses endpoint shown with the Account Addresses widget.

My Account page with the edit addresses endpoint

How to Build the My Account Page Template with the JetThemeCore Plugin

Create the My Account template

With the JetThemeCore plugin, you can construct page templates with diverse elements like body, header, and footer.

Proceed to Crocoblock > Theme Builder and click the “Create new page template” button.

creating a new page template

A new pop-up window will allow you to set one or multiple conditions, according to which the given template will be displayed on specific pages or not.

create page template pop-up

Hit the “+ Add Condition” button and select the “Include,” “WooCommerce,” and “Account Page” options from the drop-down menus.

conditions for the account page template

Once you hit the “Create” button, you will see a new template in the JetThemeCore dashboard. Give it a name.

created my account page template

Firstly, click the “+ Add body” button to trigger the “Create template” and “Add from library” options.

adding a body template to the My Account page

Hit the “Create template” button to open a new pop-up if you want to create the My Account page from scratch. Pick the “Elementor” Template content type, enter the Template name if needed, and push the “Create” button.

create the My Account template with the JetThemeCore plugin

In the Template created pop-up, you can hit the “Edit later” button to close the pop-up and stay in the Theme Builder tab or the “Go to editor” button to proceed to the Elementor builder.

my account template created notification

If you hit the “Go to editor” button, you can customize the My Account body template as described in the Create a Custom My Account Page template chapter of this tutorial.

If you want to add an already created My Account page template, hit the “Add from library” button and the “+ Use” button under the desired template.

My Account templates in the template library

JetThemeCore plugin allows adding custom headers and footers to the pages right from the dashboard. 

Click the “Add header” button and create a new header, or choose one from the library.

header templates in the template library

Repeat the same steps and add a custom footer if needed. As a result, you’ll get the My Account page template with header, body, and footer templates.

My Account page with the order endpoint

Check the JetWooBuilder settings

Now, when you are done with the page template design, it is time to check the JetWooBuilder settings. 

Go to WooCommerce > Settings and open the JetWooBuilder tab. Scroll down to the My Account Page section and ensure that the Custom My Account Page checkbox is disabled.

my account woocommerce

There is no need to choose the template in the My Account Template drop-down menu as we have already assigned the template to the My Account page in the Theme Builder dashboard. 

Scroll the page down and click the “Save Changes” button.

Finally, check the result on the My Account page on the front end.

custom My Account page template on the front end

That’s all. Now you know how to use My Account Page widgets and build the My Account page with endpoint templates with the help of the JetWooBuilder and JetThemeCore plugins.

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.