Hi,

I have added the following script in public.ajaxcart.js

    removeproductfromcart: function (urladd) {
        if (this.loadWaiting != false) {
            return;
        }
        this.setLoadWaiting(true);

        $.ajax({
            cache: false,
            url: urladd,
            type: 'post',
            success: this.successprocess,
            complete: this.resetLoadWaiting,
            error: this.ajaxFailure
        });
    },

and in the flyout cart view I have added this button:

<input type="button" value="-" class="productlistaddtocartbutton" onclick="AjaxCart.removeproductfromcart('/removeproductfromcart/@item.ProductId');return false;" />

now for some reason it does not go to my method in the shopping cart controller.

[HttpPost]
public ActionResult RemoveProductFromCart(int productId, bool forceredirection = false)

Can some one help me please?

Thanks

Andy