[Resolved] Show Cart ONLY when there's something in it

rthrashrthrash Member
in Important News edited August 2007
Is there a way to show the "Your cart contains..." bit ONLY when it actually contains something?
Comments
  • brettbrett FoxyCart Team
    Would you want this to be a CSS class that's toggled, or a div (#fc_cart_view_display or something) that's shown or hidden based on the cart quantity? Or something else?

    We actually have this on our trac, so we'll prioritize it for the next version. We were planning on showing/hiding a specific div, but if you want a different approach, we're all ears.

    We'll see what we can do to get this out in 0.2.8.
  • I honestly don't care how it's handled... just that it is. :)

    I'd prefer shorter names though ... they're getting a bit long! :P #fc_showcart would suffice
  • lukeluke FoxyCart Team
    Hmm... Looks like this one slipped through the cracks and didn't make 0.2.8. Sorry about that... we'll look into it.
  • brettbrett FoxyCart Team
    edited September 2007
    Hey, what's that over there?
    <typing typing typing>

    http://www.foxycart.com/0.2.8.html

    Got it in 0.2.8 after all ;)
  • lukeluke FoxyCart Team
    Huh... now I get what this is. That could have been done just as simply with the fc_BuildFoxyCart() function... but oh well. Glad it's easy for people though.
Sign In or Register to comment.