Just a simple change. There is now a stateHandler config var that optionally takes a function to be called whenever the first item is added to the cart or the last is removed. When the first item is added, the function receives a URL to the checkout page. This allows the hosting site to provide a checkout link outside of our shopping cart. You can see it in operation at http://Jopodia.com
Just a simple change. There is now a stateHandler config var that optionally takes a function to be called whenever the first item is added to the cart or the last is removed. When the first item is added, the function receives a URL to the checkout page. This allows the hosting site to provide a checkout link outside of our shopping cart. You can see it in operation at http://Jopodia.com