Hide Cart When Empty

Get the knowledge your online business needs to succeed.


The Hide Cart When Empty code snippet helps create a cleaner navigation area with fewer distractions for MyListing websites.

This applies to those that have toggled on the Show cart setting (Theme Tools > Theme Options > Header). MyListing will show the shopping cart in the navigation area, regardless of whether someone has added anything to their cart.


  1. Grab the code snippet.
  2. Follow the provided instructions.
  3. Save your changes.

Find a bug or typo? Please let us know.