---
url: https://docs.artemsemkin.com/velum/wp/woocommerce/header-cart-and-account.md
description: >-
  Find the Shop header that carries the cart and account icons, stop the cart
  panel (mini cart) from opening after every added product or make it open, hide
  the cart counter, change the icons, and see what the account icon shows.
---

# The cart and account icons in the header

The shop has a header of its own, the **Shop** template. Beside the logo and the burger menu it holds two widgets: **Header Account**, the account icon, and **Header Cart**, the cart icon with its counter and its panel.

## How to access

**Elementor → Theme Builder → Header → Shop**

Open the template as described in [Editing headers, footers and other templates](../overview/editing-templates) and click an icon. Its settings open in the panel on the left.

The **Shop** header shows on the shop, the product pages, Cart, Checkout and My Account. The other pages of the site use another header, without the two icons. To show the icons there too, add the **Header Account** and **Header Cart** widgets to the header those pages use. Which header a page uses is explained in [Which template shows on which page](../overview/display-conditions#which-template-shows-on-which-page).

## The cart opens every time I add a product

**Header Cart widget → Settings → Cart → Open on Add**

When a visitor adds a product, the cart panel opens under the icon. That is **Open on Add**, and it is on by default.

![The cart panel opens by itself after a product is added](https://docs.artemsemkin.com/velum/wp/images/woocommerce/header-cart-and-account-1.png)

#### ▶️ Step 1.

In the **Shop** header, click the cart icon, open the **Settings** tab and switch off **Open on Add**.

![Open on Add switched off, in the Cart section of the Settings tab](https://docs.artemsemkin.com/velum/wp/images/woocommerce/header-cart-and-account-2.png)

#### ▶️ Step 2.

Click **Publish**, or **Update** on a template that is already published.

The counter on the icon still changes with every added product, and the panel opens from the icon as before.

## The cart does not open when I add a product

The panel opens only when the product is added without a page reload, and only while the header is on screen: a header that hides on scroll keeps the panel closed while it is hidden.

On the shop and the other grids, adding without a reload is a setting of WooCommerce. Go to **WooCommerce → Settings → Products** and, under **Add to cart behaviour**, tick **Enable AJAX add to cart buttons on archives**. Leave **Redirect to the cart page after successful addition** unticked, or the visitor lands on the cart page instead.

## Hiding the counter or changing an icon

**Header Cart widget → Content**

![Show Count sits in the Cart section, the icon in the Toggle section above it](https://docs.artemsemkin.com/velum/wp/images/woocommerce/header-cart-and-account-3.png)

* **Show Count**, in the **Cart** section, shows or hides the number on the cart icon.
* **Icon**, in the **Toggle** section, replaces the icon. The **Header Account** widget has the same **Icon** setting.

## What the account icon shows

* **To a visitor who is not logged in**, the icon is a link to the **My Account** page, where WooCommerce shows its login form.
* **To a logged-in customer**, the icon opens a panel with the links of the account, such as the orders and the logout link. They are the same links as on the **My Account** page.

## The cart icon is missing on the cart and checkout pages

That is intended. On **Cart** and **Checkout** the cart icon is hidden and its panel is not printed, as with WooCommerce's own cart widget: the page already shows the cart.
