Redirect the customer to same page after logging in Magento 2. Prevent Magento 2 customers from redirecting to account dashboard page after logging in.
Sometimes you install a Magento theme and discover that you are not able to create new customer accounts on frontend. New account register form just reloads the registration page. It is possible that you face a problem while customer login.
This problem can occur when you upgrade from Magento 18.104.22.168 to 1.9.2.x. But here is the simple fix for this problem It occurs because the account registration/login template of your theme does not have a valid
form_key field. Each form in Magento should have a hidden
form_key field to prevent malicious requests.
Sometimes you need to add custom order totals to your Magento store. For exmple you may have added new attribute ‘total_surcharge’ as custom order total attribute. This new order total will be visible in admin sales order view and invoice view generally. But when you generate the PDF from invoice, the new order total is not visible there.