MyListing Code Snippet

hide cart when empty

Get the knowledge your online business needs to succeed.

Snippet Overview:

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.

Implementation

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

Let's empower others. Share the knowledge.

Share on twitter
Share on facebook
Share on linkedin
Scroll to Top

Find a bug or typo? Please let us know.