Officers were alerted to the incident at the U-Save store on Elm Row on the corner of Montgomery Street at around 9.35pm on Wednesday night.
The victim was rushed to Edinburgh’s Royal Infirmary for treatment.
The extent of his injuries are not yet known .
The police cordon has been lifted however the shop remains closed.
One staff member of the shop, who wished to remain anonymous, said: “It could have been me. It’s scary to think that but every shop has that same risk and problem.
“We need to be more careful. My boss called me at midnight to tell me police had been called last night.
“My shift starts at 7am so I’ve been here since then. I have to open the shop up when the police cordon is stopped.”
A Police Scotland spokesman said: “Police in Edinburgh responded to a convenience store in Elm Row at around 9.35pm on Wednesday 2nd May following an attempted robbery.
“During this time a 64-year-old man sustained an injury to his abdomen and was taken to the Royal Infirmary of Edinburgh for treatment.
“Inquiries are continuing and anyone with information is asked to contact police immediately.”
A spokesperson from Scottish Ambulance Service said:
“We received a call at 2135 on Wednesday 2 May to attend an incident at Elm Row, Edinburgh.
“We dispatched one ambulance to the scene and one male patient was transported to hospital.”
It is understood an arrest was made in relation to the offence but the suspect was later released and has been eliminated from police enquiries.
Join our Facebook group Our Edinburgh to share images and news from and around the Capital
Know someone that makes a difference in our community? Nominate them for a Local Hero Award HERE