Hey, i am trying to figure out a direct link of a javascript button (add to cart button) on a clothing website, that will allow me to add to cart by only using the link. It seems simple to work out but i just cant figure out how. If anybody could shed some light on this, I would appreciate.
How is it a simple work? First, you have to choose the product, then it goes to a popup with another button that says View Cart And Checkout. From there it's a cookie based shopping cart (http://www.finishline.com/store/checkout/cart.jsp). Sign up with their affiliate program: http://www.finishline.com/affiliate-program who knows what products they offer there to their affiliates. Maybe having a button is one of them.
You want to do it "on-the-fly" without the visitor changing page or with the "normal way" ? Case a) You can do it with javascript/ajax Case b) You can send the item to your basket page with post, do your stuff there (calculations etc) and show the visitor his basket. There you can have a link for "checkout" or a link with "continue shopping"