> For the complete documentation index, see [llms.txt](https://docs.northcommerce.com/north-commerce/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.northcommerce.com/north-commerce/shortcodes/cart-icon.md).

# Cart Icon

We have created a special shortcode so that you can easily add a cart icon inside your navigation.

<figure><img src="https://3754649969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD2GW0FgHldEZwt1FAF7r%2Fuploads%2Fn9RlWmaoHOPXCDm5Lg4Y%2Fimage.png?alt=media&amp;token=a90dd480-741d-49e4-a746-8395ba31f5cb" alt=""><figcaption><p>Preview of cart icon in the navigation</p></figcaption></figure>

## There are 2 types of cart icon shortcodes so please read carefully.

1. [**Menu item shortcodes**](#menu-item-shortcode) - These live directly in your navigation along with your other menu items.
2. [**Standard Shortcode**](#standard-shortcode) - This is a standard shortcode that can be placed next to a menu item. This is great for those times when you have a hamburger menu on mobile and want your cart icon to live next to that.

## Menu Item Shortcode

Navigate to `Appearance` -> `Menus` in your WordPress admin area.&#x20;

In order to add the cart icon to your navigation create a custom link and add it to your navigation.&#x20;

For the URL you will add `#nc-cart-icon#` and the label can be anything you want. Note that the label will not show on your navigation just the cart icon.

<figure><img src="https://3754649969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD2GW0FgHldEZwt1FAF7r%2Fuploads%2FA18wGYmNWwDpOYL2ArT8%2Fimage.png?alt=media&amp;token=23308f16-dd02-4528-9e68-289d00c4ee63" alt=""><figcaption><p>Adding cart icon</p></figcaption></figure>

You are also able to update the cart icon and the it's colors in the North Commerce General Settings

<figure><img src="https://3754649969-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD2GW0FgHldEZwt1FAF7r%2Fuploads%2FoNtActcP3ytbMGJEwgnI%2Fimage.png?alt=media&amp;token=efe3d3a6-e4cc-48c3-82e8-9094d24bd4f7" alt=""><figcaption></figcaption></figure>

You are able to upload new icons, change the cart icon, counter text color and background color.

## Standard Shortcode

There is no special updates to this cart icon shortcode. Just add it anywhere you'd like

```
[nc-cart-icon]
```

Above is the shortcode that you will be able to add anywhere. In the future we will add a more robust customizable cart icon shortcode that will give you more freedom to add custom icons and colors.
