Hi! We are using a custom REST API for an additional add to cart function, but the cart/sitecart does not refresh automatically. Is there any way to refresh it via JavaScript/AJAX/whatever? If I move to antoher page and back to our Woodmart Website, it is refreshed – so I assume there is some way to trigger the cart refresh without a page reload?
Sorry, but we don’t have a custom trigger for this. You need to customize your custom JS function to make it also update the cart. You can check how our custom add to cart action works in this file js/scripts/wc/addToCartAllTypes.js