[3] On 31 January 2015, Cocalić signed a three-and-a-half-year deal with Belgian side Mechelen.
[8] In spite of Mechelen's relegation to the Belgian First Division B in March 2018, Cocalić decided to stay at the club, and even extended his contract for additional season.
[9] On 21 January 2019, Cocalić was transferred to Turkish team Akhisarspor for an undisclosed fee.
[10] A week later, on his competitive debut for the club, he scored a goal and saw a straight red card.
[16] On 25 February 2022, he made his second debut for Željezničar, in a 2–0 league loss against Velež Mostar.
[18] On 14 April 2024, Cocalić was sent off after a straight red card in the city derby against Sarajevo.
[19] He left Željezničar after the end of the 2023–24 season and announced his retirement from professional football.