On 25 August 2017, Ramírez moved abroad for the first time in his career and joined Polish second-tier club Stomil Olsztyn on a one-year contract.[5] On 25 June 2018, he moved to fellow league club ŁKS Łódź on a two-year deal.[6]
On 6 February 2020, he signed a 3+1⁄2-year contract with Ekstraklasa side Lech Poznań.[7] Initially a centre-piece of Lech's offensive line-up, he was relegated to featuring mostly off the bench after the appointment of manager Maciej Skorża in April 2021. Two months after winning the league title, on 28 July 2022, Ramírez terminated his contract with Lech by mutual consent.[8]
On 1 August 2022, Ramírez signed a contract with Zulte Waregem in Belgium for two years with an option to extend.[9]
On 4 July 2023, Ramírez returned to ŁKS, signing a one-year deal with an option for another year.[10] He scored nine goals in 32 league appearances,[11] as ŁKS experienced another yo-yo year and was relegated after just one season in the top flight.[12] The option on his contract was not exercised, and he left the club on 30 June 2024.[13]
On 1 August 2024, he signed a one-year contract with Turkish second-tier club Manisa, with an option for a further year.[14]