Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Understanding admin hooks


Recommended Posts

I'm trying to understand how admin hooks works; I've installed paypal app and I'm digging on the code right now; But I found that the new hooks class is being called (function call used) I'm getting "invalid arguments" on it.

 

This seems to be because the register function looks for files at:

 

/home/test/public_html/miweb.es/includes/hooks/shop/global
/home/test/public_html/miweb.es/includes/hooks/shop/orders

 

/shop directory part is being fetched from $this->_site

 

I could not find any includes/hooks/shop/* on the contribution but includes/hooks/admin/. What I'm doing wrong?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...