To put oneself in someone's place / To imagine being someone else
Means imagining yourself in another person's situation. Very similar to ponerse en los zapatos de alguien but slightly more formal and common in writing.
Try to put yourself in my place before judging.
Put yourself in the customer's place to understand their perspective.
—Do you understand it? —Yes, I put myself in her place and it makes sense.