Hi,
You need to get the parameters for the action.
The resulting URL should look something like this:
{$link->getPageLink('cart')}?qty=1&id_product={$product.id_product}&id_product_attribute={$product.id_product_attribute&}token={$static_token}&add
Ajax for Cart is (ajax-cart.js):
//for product page 'add' button... $('#add_to_cart input').unbind('click').click(function(){ ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null); return false; });
so you can rename your inputs so that the original ajax-cart.js handles your form.
In the sample I gave you, you don't have to use form, but maybe just div ...