Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $currentFullAction = $block->getRequest()->getFullActionName();
- if($currentFullAction == "customer_account_editPost"){
- // you can make your changes here
- // In your case, you can add **readonly** attribute in input tag
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement