Quote:
Originally Posted by qualiteam
It submites the form with "target" = "cart" and "action" = "add". So, you should look into the \XLite\Controller\Cart::doActionAdd() method.
|
Thank you, I ended up finding this not long after asking. What initializes doActionAdd()? I can't seem to get this popup code to work when the button is clicked.
Code:
echo '<script type="text/javascript">alert("hello!");</script>';