Displaying the contents of the woocommerce cart

Hello, I would like to display the quantity of products in the cart and the price in the main menu, I don’t want to use any plugin, I just want to create a function that will show it itself. Can you please guide me on how to create the necessary function in PHP 🙂 I will be grateful for any hints.

  • This topic was modified 8 hours, 47 minutes ago by krysba.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer