I'm converting over an existing site to FoxyCart. Originally I was using a OnClick, within a form to call my old shopping cart on a different page.
The new line of code doesn't work. Any suggestions? Should I use something other than "window.location"?
<input type='button' value='Buy' onClick='window.location="https://wetzelandcompany.foxycart.com/cart?name=Watercolor