The Cart Menu Icon Shortcode - SureCart

No results found. Try again with different words?

Search must be at least 3 characters.

The Cart Menu Icon Shortcode

Sometimes you will want to add the cart menu icon outside of your WordPress menus, or perhaps you are using a page builder that does not pull in default WordPress menus.

If you are not using the block editor, you can use the sc_cart_menu_icon shortcode to achieve this.

[sc_cart_menu_icon cart_icon="shopping-bag" cart_menu_always_shown=1]

This shortcode uses the following parameters:

  • cart_icon – Either “shopping-bag” or “shopping-cart”. Shows the specific cart icon of your choice.
  • cart_menu_always_shown – Either 1 or 0. If you choose 0, the icon won’t show up unless you have added something to your cart.

Find more of such helpful shortcodes in our list of shortcodes.

Was this article helpful?


Did not find a solution? We are here to help you succeed.

Start Selling With SureCart Today

Start for Free – No Credit Card Required

Start Selling With SureCart Today

Start for Free – No Credit Card Required

Trusted by Thousands of Businesses
Trusted by Thousands of Businesses
Start for Free. No Credit Card Required
World Class Support Team
Scroll to Top