0

I have added an input hidden field inside the form tag of login.phtml file in magneto.

<input name="login[pageurl]" type="hidden" value="<?php echo $prevpageurl; ?>" />

whenever echo is used inside the tag whole file is disappeared from the frontend. if I remove echo $prevpageurl login form is showing.

I am not able to find out why this error is happening. please help me to resolve this

4
  • please provide file path location
    – MR.R DNATH
    Commented Dec 9, 2021 at 12:40
  • its in custom_theme/Magento_Customer/templates/form
    – Sushmita
    Commented Dec 9, 2021 at 12:46
  • please check third party plugin where it is already override.
    – MR.R DNATH
    Commented Dec 9, 2021 at 13:52
  • $prevpageurl first check its value then use it Commented Dec 28, 2021 at 7:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.