0

I want to add the form data in log files when the customer submits the login/registration form on my Magento 1 store. How can I do it using login.phmtl and register.phtml template files?

I am using Magento ver. 1.9.4.4

I tried using the below method but not working.

<?php
    Mage::log(print_r($formData, 1), null, 'logfile.log',true);
?>

How do I fetch the data of form i.e. Customer's name, email & password in the $formData variable?

I just want to know that is the form is submitted successfully or not.

As the login and signup are not working on my Magento 1.9 store.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.