We can add a dynamic cart icon on the primary menu very easily. You just need to add font-awesome fonts on your website otherwise you can use simple cart text on place of cart icon.

To add a dynamic cart icon with the number of counts you just need to add this code in your active theme functions.php file.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.