Jump to content

Logger not working


Recommended Posts

I'm trying to add some custom fields to OPC page using the tutorial at prestacraft.com. Now I have the fields showing which I got by adding them to /themes/mytheme/order-opc-new-account.tpl.

 

In controllers/front/AuthControllers.php I added this line inside protected function processSubmitAccount() but it didn't work

PrestaShopLogger::addLog(Tools::getValue('height'));

And even tried this

PrestaShopLogger::addLog('Test');

But got nothing in the ps_log table. Any ideas?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...