You're right. I copied it from a wrong file. The right method is \XLite\View\ProductPageCollection::getWidgetsColle ction().
Quote:
Where is the location of what the add to cart button actually does?
|
It submites the form with "target" = "cart" and "action" = "add". So, you should look into the \XLite\Controller\Cart::doActionAdd() method.