Description

This is where you set up options to manage accounts as well as privacy settings on your WooCommerce store. Navigate to WooCommerce Settings Accounts & Privacy. 2 days ago  Is there any other way to modify the WooCommerce template file than by overwriting it? For example, through certain hooks. I see from the woocommercetemplatesmyaccountdashboard.php file that there seems to be a hooks named woocommerceaccountdashboard, can it customize the HTML output? For example, use hooks to complete the following changes. Woo Custom My Account Page lets admin control perfectly the WooCommerce My Account page. You will be free to add and manage the most suitable information, sorting them with tabs or menus. Options to show the Menus on My account Page in ‘tab’ or ‘sidebars’ style. Allow customer to change their profile Avatar Image.

The WooCommerce My Account Widget allows shop managers to display customer information in a widget.

This plugin is compatible with WordPress 5.6 (and higher) and WooCommerce 3.5 (and higher)

Features

  • Display link to shopping cart
  • Display number of items in shopping cart
  • Display number of unpaid orders
  • Display number of uncompleted orders
  • Display number of files left to upload (working with the WP Fortune WooCommerce Uploads plugin)
  • Display a log-in form when logged out
  • Localisation: English, Dutch, Norwegian, Russian and Persian, Serbo-Croation

WooCommerce Uploads

This widgets shows also the number of files the customer has to upload, when you use the WooCommerce Uploads plugin.
More information about that plugin on WP Fortune.com.

WooCommerce Upload My File plugin

This widgets shows also the number of files the customer has to upload, when you use our WooCommerce Upload My File plugin.
More information about that plugin on WordPress.org plugin repository.

Installation

  1. Install WooCommerce My Account Widget either via the WordPress.org plugin directory or by uploading the files to the ‘/wp-content/plugins/’ directory.
  2. Activate the widget through the ‘Plugins’ menu in WordPress.

Reviews

Is not SSL/HTTPS friendly, browsers give not secure error. Works well otherwise.

Endpoints are an extra part in the website URL that is detected to show different content when present.

For example: You may have a ‘my account’ page shown at URL yoursite.com/my-account. When the endpoint ‘edit-account’ is appended to this URL, making it ‘yoursite.com/my-account/edit-account‘ then the Edit account page is shown instead of the My account page.

This allows us to show different content without the need for multiple pages and shortcodes, and reduces the amount of content that needs to be installed.

Endpoints are located at WooCommerce > Settings > Advanced.

Woocommerce My Account Customization

Checkout endpoints ↑ Back to top

The following endpoints are used for checkout-related functionality and are appended to the URL of the /checkout page:

  • Pay page – /order-pay/{ORDER_ID}
  • Order received (thanks) – /order-received/
  • Add payment method – /add-payment-method/
  • Delete payment method – /delete-payment-method/
  • Set default payment method – /set-default-payment-method/

Account endpoints ↑ Back to top

The following endpoints are used for account-related functionality and are appended to the URL of the /my-account page:

Woocommerce My Account
  • Orders – /orders/
  • View order – /view-order/{ORDER_ID}
  • Downloads – /downloads/
  • Edit account (and change password) – /edit-account/
  • Addresses – /edit-address/
  • Payment methods – /payment-methods/
  • Lost password – /lost-password/
  • Logout – /customer-logout/

Customizing endpoint URLs ↑ Back to top

The URL for each endpoint can be customized inWooCommerce > Settings > Advanced in the Page setup section.

Ensure that they are unique to avoid conflicts. If you encounter issues with 404s, go to Settings > Permalinks and save to flush the rewrite rules.

Using endpoints in menus ↑ Back to top

If you want to include an endpoint in your menus, you need to use the Links section:

Enter the full URL to the endpoint and then insert that into your menu.

Remember that some endpoints, such as view-order, require an order ID to work. In general, we don’t recommend adding these endpoints to your menus. These pages can instead be accessed via the my-account page.

Using endpoints in Payment Gateway Plugins ↑ Back to top

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our Support Policy.
Woocommerce

WooCommerce provides helper functions in the order class for getting these URLs. They are:

Woocommerce My Account Widget

$order->get_checkout_payment_url( $on_checkout = false );

Woocommerce My Account 404

and:

$order->get_checkout_order_received_url();

Gateways need to use these methods for full 2.1+ compatibility.

Woocommerce My Account

Troubleshooting ↑ Back to top

Endpoints showing 404 ↑ Back to top

Woocommerce My Account

  • If you see a 404 error, go to WordPress Admin > Settings > Permalinks and Save. This ensures that rewrite rules for endpoints exist and are ready to be used.
  • If using an endpoint such as view-order, ensure that it specifies an order number. /view-order/ is invalid. /view-order/10/ is valid. These types of endpoints should not be in your navigation menus.

Endpoints are not working ↑ Back to top

On Windows servers, the web.config file may not be set correctly to allow for the endpoints to work correctly. In this case, clicking on endpoint links (e.g. /edit-account/ or /customer-logout/) may appear to do nothing except refresh the page. In order to resolve this, try simplifying the web.config file on your Windows server. Here’s a sample file configuration:

Woocommerce My Account Shortcode

View this gist on GitHub

Pages direct to wrong place ↑ Back to top

Landing on the wrong page when clicking an endpoint URL is typically caused by incorrect settings. For example, clicking ‘Edit address’ on your account page takes you to the Shop page instead of the edit address form means you selected the wrong page in settings. Confirm that your pages are correctly configured and that a different page is used for each section.