PayPal's shopping cart system seems to require a separate <FORM> for every single product on the page. I'd rather not clutter up and bog down my page with a gazillion forms, so I thought maybe I could dynamically generate a form on the fly with JavaScript when the user clicks on Add to Cart link. My only real idea is to do a window.open() to open a new window, write out the form with document.write, auto-submit it, and then do a window.close(). But that seems kind of cumbersome, and I doubt my visitors will appreciate windows popping up and closing themselves all over the screen. Is there a better way to do this?
Alternatively, I wouldn't mind spending up to $100 on a shopping cart system that works with PayPal (as long as it doesn't require a separate <FORM> for each product), if anyone has any recommendations.
Thanks! -MBJ-