The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Only show view cart & checkout if

in Help edited March 2013
Any thoughts around this? Someone's probably done this before, but I'm probably searching poorly on the forums right now.

I'd imagine there's a way to handle this with Javascript, but not 100% sure how.
  • And by "view cart & checkout", I'm referring to the HTML links that take people to either the popup or checkout page. They're not necessary unless we have something actually in the cart, so our interface would clean up if we could remove them until something's in the cart.
  • sparkwebsparkweb Member, Integration Developer, FoxyShop, Order Desk
  • Actually, not quite there yet.

    If you check out the above screenshot, there are two orange links. I kinda don't want them to show up or display to the page (at all) if nothing's in the cart. Because without something in the cart, they're essentially useless anyways.

    Does that help? You're always on top of these forum posts man. Appreciate what you do big time.
  • fc_adamfc_adam FoxyCart Team

    If you add the .fc_minicart class to an element that surrounds those two links, they won't display if there is nothing in the cart - like described in what @sparkweb linked to. Are you still seeing them after you have added that class?
  • I think I see what you guys are getting at. Interesting.

    I'll give it a try and report back. Thank you both so much!
  • Worked like a charm!
Sign In or Register to comment.