Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How to show total items in cart in the menu bar?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to show total items in cart in the menu bar?

Tagged: eStore shopping cart items menu navigation

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 4 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 2, 2012 at 4:36 am #5726
    Chris Lambright
    Member

    I’m wondering if anyone knows how, or has ever done something like this, but if not then I’m glad for any help to figure it out.

    I’ve made a ‘View Cart’ link in the menu for my site that has a small shopping cart icon as the background image behind the wording ‘view cart’. It has a nice rollover effect just for kicks and I like that it’s in a permanent place, visible but out of the way. But it would be very sweet to have the total items in the cart show right there in the link, like it does on Amazon.com.

    I’m not a php expert, though I’m not clueless or afraid to dig into it and try things. But I cannot find a way to run the php snippet up there in the menu. I have looked at the possibility of doing something with wordpress functions (maybe wp_menu_nav_xx..whatever).. but I can’t help but think someone has already done this and I don’t need to reinvent the wheel here.

    Anyone have suggestions on this, or perhaps can point me to an easy solution?

    Thanks,

    Chris

    March 2, 2012 at 10:38 pm #42585
    admin
    Keymaster

    The following function will give you the number of items in the shopping cart

    eStore_get_total_cart_item_qty()

    You can show that number however you like it.

    March 4, 2012 at 2:00 am #42586
    Chris Lambright
    Member

    Thanks, I already know that and am using it in one place on my site. It doesn’t answer the question though.

    March 4, 2012 at 1:28 pm #42587
    admin
    Keymaster

    You are asking for a customization that involves customizing your theme’s navigation menu. We don’t offer that kind of customization service here unfortunately. If there was a quick and easy answer for your question I would have answered but not all customizations are simple.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ