WooCommerce – Mini Cart/Header Cart Unique Count

I’m looking for a line of code that I can put in my functions.php file that will change the count of products currently in the cart from the total count of actual products to the unique count of products (ex: 2 x Pencils, 1 x Pen, 5 Rulers = 8 Products, instead I’d like it to list 3 products). Hope you can help!

Read more here: WooCommerce – Mini Cart/Header Cart Unique Count

Leave a Reply

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