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.

How to display the sidecart with link

I'm trying to have a link on my page that displays the side cart. Simply appending #fc-sidecart to the URL does not do the trick. Is this even possible?
  • fc_adamfc_adam FoxyCart Team

    Definitely possible - you'd just create a normal link to your store, but with the cart=view parameter. So if your store was, the URL would be You can see other details about interacting with the cart on our wiki at
  • Okay that works for a normal link. But what about if I have an element that when clicked I want to have it do the same thing.
    $("#header #fc_quantity").on('click', function(){
    window.location.href = '';
    This does not work and just brings the user to the page without the sidecart.
  • fc_jedfc_jed FoxyCart Team

    You could try calling a function like this:
    function callSidecart() {;
    <button onclick="callSidecart()">VIEW CART</button>
    I've added a button for you to test, but feel free to call the function from wherever you want.
Sign In or Register to comment.