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.

Foxycart 2.0 Sidecart

mreeemreee Member
in Help edited November 2014
Is there a way to always show the sidecart?

I am setting up a store where customers add multiple items through JSON and I want them to be able to see the items populating in the cart as they go.


Thanks!
Tagged:
Comments
  • fc_adamfc_adam FoxyCart Team
    @mreee,

    Good question! There isn't a native function to open sidecart and not close it - but it would definitely be possible to set something up like that yourself.

    Have a look at this thread: https://forum.foxycart.com/discussion/8815/making-sidecart-a-pop-up#Item_15 - that will get you started, but you'd basically set up the cart to always be shown instead of only on add to cart click.
  • Thanks, I was able to use the code from your post on the 10th and get it most of the way their.

    There are a few issues though. I have a /cart?cart=view link to see the cart originally and to get it to refresh.

    I think it has to do with adding the products via JSON.

    I will whisper you my dev store url.
  • fc_adamfc_adam FoxyCart Team
    @mreee,

    Try calling the following within the reply from the cart add JSON request:
    FC.cart.render();
    
  • Thanks! it works now.
Sign In or Register to comment.