This tutorial provides a slightly different method to this tutorial which enables you to add a shopping cart icon and item number to your Genesis nav menu when using WooCommerce.
Update : Here’s a newer version which uses Dashicons & Ajax to update the cart without reloading the page.
Here’s the result i coded & recoded over 8 hrs :
Code Flexibility
You can :
- Style each element in the code including the icon, item text, item number and price elements.
- Remove the shopping cart basket, item text, items count and price symbol.
- Add the cart to any nav menu.
Register or login to access the members only code :
Does this work on Lifestyle Pro?
I’ll publish a separate tutorial for that as the code may need modification for use in other Genesis child themes. Update : Here it is https://wpsites.net/web-design/add-woocommerce-cart-count-total-price-to-genesis-nav-menu/
Thank you so much 🙂 As always you are the BEST!