**Edited**
Yes, it is a function somewhere. In /common_files/js/ajax.add2cart.js on line 51:
PHP Code:
// Widget
ajax.widgets.add2cart = function(form) {
if (!form || typeof(form.tagName) == 'undefined' || !form.tagName || form.tagName.toUpperCase() != 'FORM')
return false;
if (!form.add2cartWidget) {
new ajax.widgets.add2cart.obj(form);
}
return form.add2cartWidget.add2cart();
}
You can tell this by looking at the onclick in the example I gave you.
Now, in order to further demonstrate, I have updated (temporarily!) my test site to display exactly what you want in full working order. There is a simple link with onclick to add to cart. Works with Qty and options just fine.
http://trainingpen.com/manufacturers_carousel/product.php?productid=17551
**Edited**