When trying to add my own AJAX callback function to the catalog/product/product controller, I get the following error:
Code: Select all
atal error: Call to a member function getFile() on a non-object in /home/xxx/domains/xxx/public_html/system/engine/front.php on line 34
when i enter the url to the product controller manually, I also get this error.
But for all other public functions it works fine!
What am I missing?
This is the function I added to the controller (prototype of course)
Code: Select all
public function shipping(){
return 'test';
}