Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $currentFullAction = $block->getRequest()->getFullActionName();
  2. if($currentFullAction == "customer_account_editPost"){
  3. // you can make your changes here
  4. // In your case, you can add **readonly** attribute in input tag
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement